Npm: Difference between revisions
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. |
| latest release version = 3.3.6 |
||
| latest release date = {{Start date and age|2015|9| |
| 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
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Stable release | 3.3.6
/ 30 September 2015[1] |
---|---|
Repository | |
Written in | JavaScript |
License | Artistic License 2.0 |
Website | npmjs |
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
- ^ https://github.com/npm/npm/releases/tag/v3.3.6
- ^ https://raw.github.com/joyent/node/v0.6.3/ChangeLog
- ^ Schlueter, Isaac Z. (25 Mar 2013). "Forget CommonJS. It's dead. **We are server side JavaScript.**". GitHub.