npm

Discover, install, and publish JavaScript packages

Website

Meet npm

npm is a package registry and command line toolset for discovering, installing, and publishing JavaScript software. Developers use the website to find libraries and tools, inspect package information, and choose code to reuse in their own projects. The npm CLI installs dependencies from the registry, manages their versions, and runs project commands defined in a package.json file.

A project's package.json records its dependencies and scripts, while the lockfile captures the exact dependency tree to help reproduce installations across development environments. Developers can publish reusable packages for others to install, or use private packages to share code with selected collaborators. Organizations and teams provide controls for managing package access and coordinating maintenance across a group.

Discussion

Tried it? Share a useful thought or ask a question.

Product details

Website
npmjs.com
Status
Launched
Listed

Explore related topics