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

@lcap-delivery/razel-cli

v0.0.4

Published

Razel CLI

Downloads

414

Readme

razel-cli

TypeScript + Yargs 的命令行工具,采用插件式子命令;安装后对外命令为 razel-cli

  • 要求:Node.js ≥ 18
  • 开发npm installnpm run dev -- <子命令>npm run build 产出 dist/

子命令

| 命令 | 说明 | |------|------| | init | 初始化 ~/.razel/config.json | | config | 管理 ~/.razel/config.json(点路径) | | popo | POPO 平台能力(含 popo doc) | | tencent-meeting | 腾讯会议回放嗅探 / 下载 |

各命令的参数、行为与示例见对应目录下的 README.md

新增一个子命令

  1. 新建目录 src/commands/<命令名>/(可含 index.ts、实现文件、可选的 README.md)。
  2. 实现注册函数:导出 (yargs: Argv) => Argv,类型为 CommandPlugin。在函数内调用 yargs.command(...) 挂载顶层命令名与子命令(写法可参考 src/commands/tencent-meeting/index.ts)。
  3. 挂到入口:在 src/commands/index.tscommandPlugins 数组中追加你的 registerXxxCommand(勿忘 .js 扩展的 import,与现有 ESM 约定一致)。
  4. 文档:在本节上表增加一行,并在 src/commands/<命令名>/README.md 中写明用法(可选但推荐)。
  5. 验证npm run dev -- <命令名> --helpnpm run typechecknpm run build

若新命令需要新的 npm 运行时依赖,在 package.jsondependencies 中添加;被 tsup external 的包需在 tsup.config.ts 中声明。