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

@seaxlab/cli

v0.0.1

Published

Seaxlab command-line tools

Readme

@seaxlab/cli

基于 Node.js 的命令行工具,包作用域为 seaxlab。用于在终端查看版本与帮助、当前系统用户,以及读写本 CLI 使用的本地 JSON 配置文件。

功能概览

| 能力 | 说明 | |------|------| | 版本 | --version / -v 输出来自 package.json 的版本号 | | 帮助 | --help / -h 输出用法、子命令与选项 | | 欢迎横幅 | 无子命令且非仅打印版本/帮助时,显示 cli-welcome 横幅(可用 -c 清屏) | | 当前用户 | seaxlab user 输出 os.userInfo()(用户名、uid/gid、主目录、shell 等) | | 配置文件 | seaxlab config … 查看路径、展示/读取/写入 JSON(键支持 a.b 点路径) |

配置文件位置

遵循常见 Linux/macOS 习惯:

  • 若设置了环境变量 XDG_CONFIG_HOME<XDG_CONFIG_HOME>/seaxlab/config.json
  • 否则:~/.config/seaxlab/config.json

安装与本地开发

npm install
npm link   # 可选:将全局命令 `seaxlab` 指向当前包
npm unlink -g

用法示例

seaxlab -v
seaxlab -h
seaxlab user
seaxlab config path
seaxlab config show
seaxlab config get api.url
seaxlab config set api.url "https://example.com"

config set 的值会尝试按 JSON 解析;解析失败则按普通字符串保存。

技术栈

要求

  • Node.js >= 18

许可证

package.json 中的 license 字段。