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

nx-bt

v0.1.0

Published

脚本执行器:云 KV 拉取 + 本地 REPL + bash 运行

Readme

nx-bt

Cloud-KV-backed shell script manager. Pulls shell scripts tagged sh from the dev_ctr_hello backend (kvcli-compatible API) into a local directory and runs them via bash. Operates as a REPL by default.

Install

npm install -g nx-bt

Usage

nx-bt                          # enter REPL
nx-bt login                    # authenticate
nx-bt download [key]           # thin download — key (or all tag=sh); --tag=<t>, --force
nx-bt upload <key> <filepath>  # thin upload: KV-key + local-script-path
nx-bt list                     # list local scripts
nx-bt run                      # interactive run
nx-bt exec <key>               # non-interactive run

In REPL:

2196824165@laptop:~/nx-bt/scripts$ login
2196824165@laptop:~/nx-bt/scripts$ ls
2196824165@laptop:~/nx-bt/scripts$ cat <key>
2196824165@laptop:~/nx-bt/scripts$ cd <key>          # select a script
2196824165@laptop:~/nx-bt/scripts$ run [<key>]      # run (current selection if no key)
2196824165@laptop:~/nx-bt/scripts$ download [key]    # thin fetch (no prompts)
2196824165@laptop:~/nx-bt/scripts$ upload <k> <path> # thin push (no prompts)
2196824165@laptop:~/nx-bt/scripts$ group             # interactive workspace menu
2196824165@laptop:~/nx-bt/scripts$ help
2196824165@laptop:~/nx-bt/scripts$ exit

Ctrl-C does not exit the REPL. Only exit / quit does. Ctrl-C during a running script will interrupt the bash child and return to the prompt.

Configuration

File: ~/.nx-bt/config.toml (Windows: %APPDATA%\nx-bt\config.toml). Falls back to <cwd>/.nx-bt/ if the user dir is not writable.

[server]
base_url = "http://47.110.80.47:8988"
group_id = 0

[auth]
token = "..."
user_id = 0
email = ""

[prefs]
scripts_dir = ""
log_level = "info"

Override paths via NX_CD_HOME. Use NX_CD_BASH to point at a custom bash.

License

MIT © 2026 joke-lx