installing

A module for installing node modules programmatically based on your package.json

Usage no npm install needed!

<script type="module">
  import installing from 'https://cdn.skypack.dev/installing';
</script>

README

installing

A module for installing node modules programmatically based on your package.json

Usage

Firstly, install via NPM:

npm install --save installing

go( [callback] )

Install's all of the modules inside your package.json file

installing.go(function(data) {

  console.log(data);

});

run( command, [callback] )

Runs a command and outputs the data received

installing.run("npm install --save request", function(data) {

  console.log(data);

});