1.2.43 • Published 9 years ago
n-api v1.2.43
n-api
node.js api for n (https://www.npmjs.org/package/n). Minor version is in step with n
.
Usage
n(<version>)
Switch to the specified node version. Download and Install if not present on system.
var n = require('n-api');
n('latest');
// do some stuff
n.prev()
Switch to previously active version
n.ls()
List availble versions;
var list = n.ls(); // [ '0.8.6', '0.8.7', ... '0.11.13' ]
n.use(<version>, <cmd>)
Run cmd
with the specified version
of node.
n.use('0.11.13', 'app.js');
n.bin(<version>)
Return the location of the node binary for the specified version
, or null
if that version is not installed.o
License
Author
1.2.43
9 years ago
1.2.42
9 years ago
1.2.39
10 years ago
1.2.38
10 years ago
1.2.32
10 years ago
1.2.31
10 years ago
1.2.30
10 years ago
1.2.29
10 years ago
1.2.28
10 years ago
1.2.27
10 years ago
1.2.26
10 years ago
1.2.24
10 years ago
1.2.23
10 years ago
1.2.22
10 years ago
1.2.21
10 years ago
1.2.20
10 years ago
1.2.17
10 years ago
1.2.16
10 years ago
1.2.15
10 years ago
1.2.14
10 years ago
1.2.13
10 years ago
1.2.12
10 years ago
1.2.11
10 years ago
1.2.10
10 years ago
1.2.9
10 years ago