An open API service indexing awesome lists of open source software.

https://github.com/avin/npm-install-subfolders

Do `npm install` for all subfolders.
https://github.com/avin/npm-install-subfolders

Last synced: about 1 year ago
JSON representation

Do `npm install` for all subfolders.

Awesome Lists containing this project

README

          

# npm-install-subfolders

Do `npm install` for all subfolders.

## Usage

```js
const npmInstallSubfolders = require('npm-install-subfolders');
const path = require('path');

npmInstallSubfolders({
rootFolder: path.resolve(__dirname, 'static'),
verbose: true,
client: 'npm', // npm | yarn
postAction: (path) => {
console.log('+++', path);
},
});
```