npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ddj-v2/user-management

v2.2.0

Published

Advanced user management plugin for Hydro

Readme

HydroOJ插件 使用者管理面板

修改自 https://github.com/SummerofOrange/hydrooj-user-management

這是一個為 HydroOJ 提供可視化使用者管理功能的插件,讓管理員能在控制面板中方便地管理使用者資訊、權限與狀態。

程式碼很簡單,佛系不定期更新~

如果覺得好用請幫我點個 star,感激不盡。

安裝方法

sudo su
yarn global add @ddj-v2/user-management
hydrooj addon add @ddj-v2/user-management
pm2 restart hydrooj

使用方法

  1. 進入使用者管理:登入 HydroOJ 後,在控制面板側邊欄找到「使用者管理」選單項

  2. 搜尋使用者:在使用者列表頁面使用搜尋框查找特定使用者

  3. 編輯使用者:點擊使用者列表中的「編輯」按鈕進入使用者詳細頁面

  4. 管理權限:在使用者詳細頁面的「權限管理」部分設定使用者權限

  5. 重設密碼:在「密碼管理」部分為使用者重設新密碼

  6. 封鎖使用者:在「使用者狀態」部分封鎖或解封使用者

  7. 域用戶管理: 可看見 default role

權限說明

插件使用以下權限等級:

  • -1:root(超級管理員)
  • 0:已封鎖使用者
  • 4:系統保留
  • 8:訪客使用者
  • 16842756:預設使用者權限
  • 其他值:自訂權限

介面展示

使用者列表頁面

使用者列表

使用者詳細頁面

使用者詳細

安全特性

  • ✅ 權限驗證:只有具有系統管理權限的使用者才能訪問
  • ✅ 操作確認:重要操作(如重設密碼、封鎖使用者)需確認
  • ✅ 權限保護:防止非超級管理員修改超級管理員帳戶
  • ✅ 資料驗證:自動驗證使用者名稱與電子郵件唯一性
  • ✅ 輸入驗證:前端與後端雙重驗證使用者輸入

開發說明

貢獻程式碼

歡迎提交 Issue 與 Pull Request 改進此插件。

授權

MIT License

支援

若您在使用過程中遇到問題,請:

  1. 查看 Issues 頁面
  2. 提交新的 Issue 描述您的問題
  3. 聯絡作者取得技術支援

注意:此插件需 HydroOJ v5.0.0-beta.6 或更高版本。使用前請確保您有足夠的系統管理權限。