npm
作者Isaac Z. Schlueter
開発元npm Inc
npmとはJavaScriptのパッケージ管理システムの一種。Node Package Managerの意[4]。
なおnpmとは初期のコミットではタイトルを「Node Package Manager」と頭文字を取ったものであった[5]ものの、その後、誤解を招くとして変更され[6]、現在は「npm is not an acronym」のバクロニムであることが公言されている[7]。
ライセンスはArtistic License 2.0。Node.jsのパッケージ管理システムであり、V8 JavaScriptエンジンで動作する[8]。npm自身もJavaScriptで記述されている[7]。
Node.jsは、サーバ上で動作するJavaScriptであるが、Node.jsを使ったツールが開発されるようになると、これらを管理するバージョン管理システムの必要性が生まれた。
npmは、Node.jsのツールやパッケージ(モジュール)をインストールしたり管理したりするだけでなく、パッケージを扱うためにインターフェイスを備えている[8]。リポジトリ機能も備えており、必要とするパッケージ(モジュール)の検索、ダウンロード、インストール、アップデートを行えたり、開発したパッケージ(モジュール)を他者に公開できたりする[9]。
開発元であるnpm Inc.は2014年に設立し、2020年にGitHubに買収された。
出典^ “Microsoft-owned GitHub to acquire JavaScript package manager Npm”. GeekWire (2020年3月17日). 2021年10月5日閲覧。
^ “Earliest releases of npm”. GitHub. 2021年10月5日閲覧。
^ “cli/CHANGELOG.md at latest”. GitHub (2023年5月31日). 2023年6月5日閲覧。
^ 吾郷協、山田順久、竹馬光太郎、和智大二郎『JavaScriptエンジニア養成読本 Webアプリ開発の定番構成Backbone.js+CoffeeScript+Gruntを1冊で習得!』技術評論社、2014年、12頁。.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation.cs-ja1 q,.mw-parser-output .citation.cs-ja2 q{quotes:"「""」""『""』"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free a,.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited a,.mw-parser-output .id-lock-registration a,.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription a,.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:#d33}.mw-parser-output .cs1-visible-error{color:#d33}.mw-parser-output .cs1-maint{display:none;color:#3a3;margin-left:0.3em}.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}ISBN 9784774170015。
^ “NPM - a JavaScript package manager”. GitHub. 2023年3月24日閲覧。
^ “NPM is a nice JavaScript package manager ・ NPM/Cli@cbb890e”. GitHub. 2023年3月24日閲覧。