0.1.3 • Published 2 years ago
npm-install-subfolders v0.1.3
npm-install-subfolders
Do npm install
for all subfolders.
Usage
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);
},
});