Last updated
    npm
    Software development, package management

    npm

    United States flagUnited States

    "The package manager for JavaScript"

    Founded 2014-01-27 Oakland, California, United States
    Community

    About

    npm is the default package manager for Node.js and the operator of the largest software registry in existence, a service used by more than 17 million developers. The command-line client ships with every Node.js installer, which means most JavaScript developers meet npm on their first day with the runtime. Behind the client sits the npm registry, a public database of reusable packages that has grown from a few thousand entries in its early years to more than 2.1 million by September 2022. A free tier covers public packages; paid plans cover private ones.

    Isaac Z. Schlueter started npm in 2010 as an open-source project, frustrated by the absence of a capable dependency manager for JavaScript and drawing on similar tools in other language ecosystems. He incorporated npm, Inc. on January 27, 2014, with headquarters in Oakland, California, and served as chief executive. The name is a recursive backronym: officially, npm is not an acronym, though it is commonly expanded, unofficially, as Node Package Manager.

    GitHub acquired npm, Inc. in 2020, and the registry now operates as a subsidiary of GitHub, itself owned by Microsoft. The acquisition price was not disclosed, nor are npm's revenue figures; income has come chiefly from private-registry subscriptions. Competitors include Yarn, introduced by Facebook, and pnpm, both of which take different approaches to dependency resolution. Neither has displaced npm as the default that arrives with Node.js.

    The registry's scale has brought supply-chain problems along with it. Malicious packages and dependency-confusion attacks have appeared repeatedly, and in March 2016 the unpublishing of a small package called left-pad broke builds across the ecosystem and led to policy changes on package removal. The npmjs.com site lets anyone browse and search the registry without installing anything.

    Products & Sub-brands

    npm command-line clientnpm Registry (public)npm private packages (paid plans)

    Frequently Asked Questions

    What does npm stand for?
    Officially, npm is not an acronym: the name is a recursive backronym. Colloquially it is expanded as Node Package Manager, which describes its role as the default package manager for Node.js.
    Is npm the same as Node.js?
    No. Node.js is the JavaScript runtime; npm is the package manager bundled with every Node.js installation, used to install and share code libraries.
    Who owns npm?
    npm, Inc. is a subsidiary of GitHub, which acquired the company in 2020. Isaac Z. Schlueter founded the project in 2010 and incorporated the company on January 27, 2014.
    Is npm free to use?
    The public npm Registry is free for open-source packages. Paid plans exist for private packages, and the service remains actively maintained under GitHub.
    How many packages are on npm?
    The registry is the largest software registry in the world. Figures cited across sources range from more than 800,000 packages to over 2.1 million as of September 2022.

    Keywords

    npmNode.jspackage managerJavaScriptnpm registryIsaac Z. SchlueterGitHubopen sourcesoftware registrydependency management

    Sources

    Company Info

    Founded
    2014-01-27
    Founder
    Isaac Z. Schlueter
    Headquarters
    Oakland, California, United States
    Industry
    Software development, package management
    Parent Company
    GitHub (subsidiary of Microsoft)
    Registry Size
    Over 2.1 million packages (September 2022)
    Users
    More than 17 million developers

    Official Website

    www.npmjs.com/

    Join the community

    fans discussing