# npm

the package manager for JavaScript

Repository: https://github.com/npm/cli
Canonical: https://ross.abutalabs.com/products/npm
Homepage: https://docs.npmjs.com/cli/
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: package-manager, npm, nodejs, javascript, tools, npm-cli
Last push: 2026-08-26T21:48:47+00:00
Link (homepage): https://docs.npmjs.com/cli/

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2981, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 292}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10061, forks 4669 (observed 2026-08-28T04:10:39.396468+00:00)

## What it is
npm is the default package manager for Node.js and JavaScript, used to install, publish, and manage project dependencies from the npm registry. This specific repository (npm/npm) is archived; active development lives in the npm/cli repository.

## Use cases
- install javascript dependencies
- publish a package to npm registry
- manage nodejs project dependencies
- run package scripts like npm start
- lock dependency versions for reproducible builds
- update outdated packages in a project

## When to choose
- you are working on a Node.js or JavaScript project and need dependency management
- you want to publish or consume packages from the npm registry
- you need the default tooling bundled with Node.js

## When to avoid
- you prefer Yarn or pnpm for faster installs or stricter lockfiles
- you are managing dependencies for a non-JavaScript ecosystem like Python or Rust
- you were looking at this archived repo expecting active development - use npm/cli instead

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, cli, developer-tools, build-tool
- domain: developer-tools, version-control, programming-languages
- platform: cli, cross-platform, windows
- tags: javascript, nodejs-ecosystem, registry, dependency-management, npm, command-line, nodejs, linux, macos

## Member repositories
- npm/cli (main) score 95
- npm/npm (mirror) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.396468+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:02:35.731602+00:00, confidence not recorded.
  - readme: https://github.com/npm/cli (fetched 2026-08-28T04:10:39.396468+00:00, sha ba5c99fd1315)
  - homepage: https://docs.npmjs.com/cli/ (fetched 2026-08-29T08:01:35.338266+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
