# np: 6.3 out of 10

Reasonable, with limits. 9th of 10 in [Git hooks and release tools](https://elestia.ai/opensource/git-release/index.md).

np is an interactive command-line tool that wraps `npm publish` with safety checks, a version bump, a git tag, tests and a draft GitHub release. It is well maintained and pleasant for solo authors who publish single packages by hand. It does not handle monorepos, changelogs or automated CI releases, and its use is flat while peers grow.

**Best for:** Solo maintainers or small teams who publish single-package npm libraries by hand and want a guided, safe release step.

## Scores

- **Overall: 6.3** (likely 5.2 to 7.3)
  - Claude Opus 5.5 (5.5): np is a good, well-kept tool for publishing a single package by hand, and it stays a fine pick for solo library authors. Most teams starting today will want automated CI releases with changelogs, or monorepo support, where release-it, semantic-release or Changesets do more. Its flat usage against fast-growing peers keeps it below a strong pick.
  - GPT-6.2 Sol (7.0): np is a strong pick for a single package when a maintainer wants to choose the version and publish from the terminal. Release-it covers both interactive and unattended workflows, and semantic-release is a better fit for teams that want commit-driven releases in CI. Stable-version authentication friction and slowing relative adoption limit np's standing as a general recommendation.
- **Needed by many: 3.3** (likely 2.2 to 4.4)
  - Claude Opus 5.5 (3.0): np only covers publishing npm packages by hand. Most JavaScript developers build apps and never publish to npm. Within the category it skips git hooks and CI releases, and it excludes monorepos, so it serves a clear niche of library authors.
  - GPT-6.2 Sol (3.5): np serves JavaScript and TypeScript maintainers who publish individual packages from a local terminal. Its checks run at release time, and it has no monorepo support. Developer surveys establish that npm tooling is widespread, but leave the share of developers who publish this way uncertain.
- **Helps a lot: 6.9** (likely 5.8 to 7.9)
  - Claude Opus 5.5 (6.5): For its narrow job it is polished. It has good preflight checks, rollback on failure, support for several package managers, OTP handling and a preview mode, and users praise it. It has no changelog generation, no automatic versioning, no monorepo support and weak CI use, so release-it and semantic-release cover more cases. OIDC trusted publishing support was added only in early 2026.
  - GPT-6.2 Sol (7.2): Version 12.1.1 covers the local release from Git checks and tests through versioning, publishing, and a release draft. The documented flags and dry run make it easy to script, though reinstalling dependencies adds time to each release. The latest patch fixed an OTP prompt regression, while users have also reported pnpm 11 authentication trouble and the browser sign-in fix is still outside the stable release.
- **Holds up over time: 6.9** (likely 5.8 to 8.0)
  - Claude Opus 5.5 (7.0): The project is active: 112 commits and 13 releases in the last year, only 2 open issues and no open pull requests. It depends mostly on one prolific maintainer who is funded through sponsorships. Major versions raise the Node and npm minimums often. Automated CI release flows are where the ecosystem is heading, and np is not built for them.
  - GPT-6.2 Sol (6.8): The project made 112 commits and 13 releases in the past year, and maintainers shipped a fix for the September OTP regression on the day it was reported. The lead maintainer receives community funding, and the registry lists three maintainers, though recent releases are concentrated under one account. The v12 runtime requirements and the time it took to address browser sign-in make future npm and pnpm changes the main uncertainty.
- **Used widely: 4.7** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (4.5): It has about 618k downloads in 4 weeks against 604k a year ago, a ratio of about 1.0 against a median of 4.1, so it is losing share. It has 37.9k dependent repositories, close to release-it, which shows real past adoption. The download count is far below release-it and semantic-release, and new choices are not growing.
  - GPT-6.2 Sol (4.8): ecosyste.ms found about 37,900 dependent repositories, close to release-it and well below semantic-release. Four-week downloads rose from 604,000 to 618,000, a 1.02× ratio against the 4.1× catalog median, indicating a loss of relative ground. Global installs and automated reinstalls make the download count hard to translate into active projects, and recent social attention is sparse.
- **Vouched for: 4.3** (likely 2.9 to 5.8)
  - Claude Opus 5.5 (4.5): Its maintainer uses it to release a very large set of popular packages, and well-known developers praise it on Bluesky. Independent comparisons describe it fairly but rank it as a low-automation tool. There is no survey data and no Hacker News coverage, and no framework builds on it.
  - GPT-6.2 Sol (4.1): Independent maintainers praise the guided workflow, and the author of pubm cites it as an influence. Cloud Four included np in its publishing guide, and patch-package declared it as a development dependency in an older release. Recent evidence from large production teams, developer surveys, and independent benchmarks specific to np is sparse.
- **Safe: 5.8** (likely 4.6 to 7.2)
  - Claude Opus 5.5 (6.0): It has no known advisories and an MIT licence. It is a dev-only tool that handles npm publish credentials and pulls in 35 direct dependencies. The Scorecard is 3.8, with no branch protection, code review, pinned dependencies or security policy, and releases depend on one maintainer.
  - GPT-6.2 Sol (5.5): np has a permissive MIT license and zero recorded OSV advisories. Its 35 direct dependencies run in a release environment that can have registry credentials. The 3.8 OpenSSF Scorecard gives zero marks for token permissions, dependency pinning, code review, branch protection, and security policy. The registry mirror attributes v12.1.1 to one of three listed maintainers, and build provenance for that release is unverified.

## Good

- Runs preflight checks before publishing: clean tree, right branch, up-to-date remote, tests and a fresh install.
- Rolls back the tag and commit when a publish fails, and opens a prefilled GitHub release draft.
- Actively maintained: 13 releases in the last year, with support for npm 12, pnpm, Bun, Yarn and staged publishing.
- Needs almost no configuration: you run `np` and answer the prompts.

## Bad

- No monorepo support, and the README says CI is not an ideal place to run it.
- Does not generate changelogs or pick versions from commit messages, unlike semantic-release and release-it.
- Pulls in 35 dependencies and scores only 3.8 on the OpenSSF Scorecard.
- Downloads are flat year over year while the median project grew about fourfold.

## The numbers

- Downloads, 4 weeks: 618k
- In a year: +2%
- GitHub stars: 7.7k
- Commits, 12 months: 112
- Last npm release: Sept 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/sindresorhus/np
- npm: https://www.npmjs.com/package/np

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
