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

claude-permission-popup

v0.1.7

Published

Centered native macOS permission dialog for Claude Code.

Readme

claude-permission-popup

English | 简体中文

把 Claude Code 终端里的权限提示,换成屏幕居中的 macOS 原生弹窗——不用切回终端就能允许或拒绝。

环境要求

  • 仅 macOS(用到 osascript)。
  • Node 18+npx 随 Node 一起安装。如果提示 npx: command not found,先装 Node:https://nodejs.org

安装

npx claude-permission-popup install

或者用这个一行式(会先检查 Node):

curl -fsSL https://raw.githubusercontent.com/Melodymaifafa/claude-permission-popup/main/install.sh | bash

(脚本只检查 Node 并运行安装器,绝不替你安装 Node。)

装完重启 Claude Code(或运行 /hooks)生效。卸载:

npx claude-permission-popup uninstall

弹窗

三个按钮:

| 按钮 | 作用 | |------|------| | 允许 | 放行这一次请求。 | | 拒绝 | 拒绝这一次请求。 | | 返回 | 关掉弹窗,把跑这个 session 的终端标签页带回最前,再交回 Claude Code 的原生提示——"始终允许"(don't ask again)在那里,按程序、按目录的分级远比弹窗精确。 |

Esc超时、或直接关掉弹窗,效果同返回:回落到原生提示,永不自动放行

被忽略的工具

弹窗对"自带 UI"或"无副作用"的工具不出现——直接放行给 Claude Code 原生处理:AskUserQuestionExitPlanMode(强行允许会把它们的提示吞掉),以及 Todo 记录类工具。

安全

  • 只有明确点允许才放行,拒绝才驳回。其余(返回 / Esc / 超时 / 关闭)一律回落到原生提示——弹窗从不自动放行,也从不写入任何规则
  • 安装 / 卸载改写 ~/.claude/settings.json 时会加文件锁、先备份成 .bak,并发运行也不会互相覆盖。