Jump to content

Npm: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Bitobor (talk | contribs)
m Latest release version
Line 16: Line 16:
| released = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} -->
| released = <!-- {{Start date|YYYY|MM|DD|df=yes/no}} -->
| discontinued =
| discontinued =
| latest release version = 3.3.5
| latest release version = 3.3.6
| latest release date = {{Start date and age|2015|9|25|df=yes}}<ref>https://github.com/npm/npm/releases/tag/v3.3.5</ref>
| latest release date = {{Start date and age|2015|9|30|df=yes}}<ref>https://github.com/npm/npm/releases/tag/v3.3.6</ref>
| latest preview version =
| latest preview version =
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->

Revision as of 06:26, 11 October 2015

npm
Stable release
3.3.6 / 30 September 2015; 9 years ago (2015-09-30)[1]
Repository
Written inJavaScript
LicenseArtistic License 2.0
Websitenpmjs.org

npm is a package manager for JavaScript, and is the default for Node.js.

Overview

As of Node.js version 0.6.3, npm is bundled and installed automatically with the environment.[2] npm runs through the command line and manages dependencies for an application. It also allows users to install Node.js applications that are available on the npm registry. npm is written entirely in JavaScript and was developed by Isaac Z. Schlueter as a result of the frustrations he had experienced while working with CommonJS, and with inspiration from similar projects for PHP (PEAR) and Perl (CPAN).[3]

Usage

By default, npm modules are retrieved over the Internet from the public package registry maintained on http://npmjs.org. Modules may be installed through npm install:

$ npm install moduleName

For example, to install LESS:

$ npm install less

See also

References

  1. ^ https://github.com/npm/npm/releases/tag/v3.3.6
  2. ^ https://raw.github.com/joyent/node/v0.6.3/ChangeLog
  3. ^ Schlueter, Isaac Z. (25 Mar 2013). "Forget CommonJS. It's dead. **We are server side JavaScript.**". GitHub.