sindresorhus/np
A better `npm publish` observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13.0
- age_days: 4035
- days_rel: 34
- days_push: 34
- n_releases_24m: 13
Adoption not part of the score
7712 stars · 310 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
np is an interactive CLI tool that improves the npm publish workflow for JavaScript packages. It automates safety checks, version bumping, git tagging, publishing, and pushing commits and tags to GitHub or GitLab.
Use cases
- publish an npm package safely from the command line
- bump package version and create a git tag in one step
- run tests and checks before publishing a release
- avoid accidentally publishing pre-release versions under the latest tag
- push commits and tags to GitHub after a release
- open a prefilled GitHub release draft after publishing
When to choose
- you publish npm packages locally and want an interactive, safety-checked release flow
- you want version bumping, tagging, publishing, and pushing automated in one command
- you need 2FA support and rollback on failed publishes
When to avoid
- you need to publish from a monorepo - monorepos are not supported
- you want to publish in CI pipelines - np is designed for interactive local use
- your project requires Node.js older than 22 or npm older than 10
Facets
cli-tool · maturity active
cli developer-tools version-control ci-cd developer-tools version-control cli cross-platform npm-publish release-automation version-bumping git-tags package-publishing command-line automation nodejs
2 sources
- readme: https://github.com/sindresorhus/np · fetched 2026-08-28 · 88180a4a1c37
- registry_npm: https://registry.npmjs.org/np · fetched 2026-08-29 · 1f06d3168615
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/np | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem