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

argus-system-cli

v0.1.0

Published

一个可扩展的跨平台系统工具命令合集

Readme

Argus

Argus 是一个可扩展的跨平台系统工具命令合集。名称源自希腊神话中的百眼守望者。

目前提供 memory 命令,用于查看 RSS 内存占用最高的十个进程。支持 macOS、Windows 和 Linux,需要 Node.js 18 或更高版本。

安装

从 npm 全局安装:

npm install --global argus-system-cli
argus --help

从源码安装:

npm install
npm link

完成后可以在终端中直接使用 argus。开发时也可以通过 npm start -- <命令> 运行。

帮助

查看全部可用命令:

argus --help

查看指定命令的用途和用法:

argus memory --help

查看内存占用

argus memory

结果按每个进程的常驻内存(RSS)降序排列,最多显示十项。相同程序的多个进程会按 PID 分别展示。

┌──────┬──────────┬────────────────────────────────┬──────────────┬──────────┐
│ 排名 │      PID │ 程序                           │         内存 │     占比 │
├──────┼──────────┼────────────────────────────────┼──────────────┼──────────┤
│    1 │     1234 │ example                        │     1.25 GiB │    7.81% │
└──────┴──────────┴────────────────────────────────┴──────────────┴──────────┘

开发

npm test
npm run test:smoke

发布

发布需要拥有 npm 账号,并登录官方 npm registry:

npm login --registry=https://registry.npmjs.org
npm publish

npm publish 会先自动运行全部测试。每次发布前需要使用 npm version patchnpm version minornpm version major 更新版本号,因为 npm 不允许重复发布同一版本。