Install
openclaw skills install @nenadzivotic/npm-package-health-liteQuick health check on an npm package before installing — latest version, days since last publish, deprecation flag, license, and a stale/deprecated heuristic. One unauthenticated registry request. Use when the user asks if an npm package is maintained or safe to add.
openclaw skills install @nenadzivotic/npm-package-health-liteOne GET to registry.npmjs.org/<package> — public registry metadata. No other hosts, nothing sent, no package installed, no code executed.
Requires Node 18+, zero dependencies.
node <skill-dir>/scripts/health.mjs <package-name>
JSON on stdout; exit 1 on fetch failure, 2 on missing argument.
latest, lastPublish, ageDays, deprecated, license, health.deprecated string present, ageDays > 730, license: null.<package>@<latest>: <health>
last publish Y days ago · license <spdx|none> · deprecated <yes/no>
<one-line recommendation: safe to add / pin version / consider alternative>
The full npm-package-health additionally reports weekly downloads (api.npmjs.org), maintainer count, and dependency count.