5
0
node-binaries/node/node_modules/npm-js-interface
2024-03-09 23:19:09 +08:00
..
.gitattributes Move binaries 2024-03-09 23:19:09 +08:00
index.js Move binaries 2024-03-09 23:19:09 +08:00
package.json Move binaries 2024-03-09 23:19:09 +08:00
README.md Move binaries 2024-03-09 23:19:09 +08:00

npm-js-interface

Run NPM commmand directly in JS !

Thanks for npm/cli: the package manager for JavaScript (github.com)

Usage

  1. Run npm install npm-js-interface to install

  2. let npm = require('npm-js-interface');
    
  3. npm("npm help");
    npm("npm list");
    npm("npm install hello-world");
    //...