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

@3iot/scadactl

v2.7.1

Published

Command-line client for Shenkong SCADA

Readme

scadactl npm packages

该目录用于将 Go 编写的 scadactl 发布为跨平台 npm 命令行工具。

安装

npm install --global @3iot/scadactl
scadactl -h

入口包 @3iot/scadactl 本身只包含 Node.js 启动器。npm 会根据平台包中的 oscpu 字段,仅安装当前系统对应的 optional dependency:

| 构建目标 | npm os | npm cpu | optional dependency alias | | --- | --- | --- | --- | | windows_amd64 | win32 | x64 | @3iot/scadactl-windows-amd64 | | windows_arm64 | win32 | arm64 | @3iot/scadactl-windows-arm64 | | linux_amd64 | linux | x64 | @3iot/scadactl-linux-amd64 | | linux_arm64 | linux | arm64 | @3iot/scadactl-linux-arm64 | | darwin_arm64 | darwin | arm64 | @3iot/scadactl-darwin-arm64 |

这些别名均指向同一个真实 npm 包名 @3iot/scadactl 的平台预发布版本。例如 @3iot/scadactl-linux-amd64 对应 npm:@3iot/[email protected]

发布

在本目录执行:

npm run set-version -- 2.7.1
npm run check
npm run build
npm run pack:all
npm run publish:all -- --dry-run
npm run publish:all

set-version 只接受 x.y.z 格式,并同步更新入口包、五个平台包和所有 npm alias。build 使用 CGO_ENABLED=0 交叉编译五个平台,pack:all 将六个 tarball 写入 dist/

publish:all 先以 platform dist-tag 发布五个平台版本,最后以 latest 发布入口包。可以把 npm 参数继续传给脚本,例如:

npm run publish:all -- --registry=https://registry.example.com

平台二进制生成在 packages/<target>/bin/,打包产物生成在 dist/;两者都不会提交到 Git。