Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (24 sloc) 1.252 kb
fe7f857 @jeromeetienne better doc
authored
1 # nmod
2
74e08aa @jeromeetienne better doc
authored
3 nmod is a [node_modules](http://nodejs.org/docs/v0.4.1/api/modules.html#loading_from_node_modules_Folders)
60f254d @jeromeetienne better doc
authored
4 manager.
fe7f857 @jeromeetienne better doc
authored
5
74e08aa @jeromeetienne better doc
authored
6 node_modules is a [0.4 new feature](https://github.com/joyent/node/blob/v0.4.0/ChangeLog#L5).
7 It provides a simple and regular way to install packages (read
4a9a16c @jeromeetienne better doc
authored
8 [more](http://nodejs.org/docs/v0.4.1/api/modules.html#loading_from_node_modules_Folders)).
9 nmods is cloned from [ryp](https://github.com/isaacs/ryp) but is implemented in node.js.
9792aa8 @jeromeetienne better doc
authored
10 Thanks to *node_modules* principle, *nmod* installs npm packages locally.
07e83c6 @jeromeetienne better doc
authored
11
12 ## How to use it ?
13
c115d03 @jeromeetienne better doc
authored
14 To install express in ./node_modules
07e83c6 @jeromeetienne better doc
authored
15
16 nmod install express
17
c115d03 @jeromeetienne better doc
authored
18 To list all packages installed in ./node_modules
07e83c6 @jeromeetienne better doc
authored
19
20 nmod ls
21
c115d03 @jeromeetienne better doc
authored
22 To remove express
07e83c6 @jeromeetienne better doc
authored
23
24 nmod rm express
25
c115d03 @jeromeetienne better doc
authored
26 All commands
07e83c6 @jeromeetienne better doc
authored
27
9792aa8 @jeromeetienne better doc
authored
28 nmod install <package> - Install a package, and nest its deps.
29 nmod ls - Show installed packages.
30 nmod rm <package> - Remove a package
31 nmod deps - Install dependencies from package.json file
07e83c6 @jeromeetienne better doc
authored
32
33 ## How to install it ?
34
ebe84a7 @jeromeetienne better doc
authored
35 *nmod* is a [single node file](http://github.com/jeromeetienne/nmod/raw/master/nmod), so easy to install
74e08aa @jeromeetienne better doc
authored
36
bb74b55 @jeromeetienne a lot of good things
authored
37 sudo wget -O /usr/bin/nmod --no-check-certificate http://github.com/jeromeetienne/nmod/raw/master/nmod
353699e @jeromeetienne fix in sudo
authored
38 sudo chmod +x /usr/bin/nmod
Something went wrong with that request. Please try again.