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.
- Host: GitHub
- URL: https://github.com/avin/npm-install-subfolders
- Owner: avin
- Created: 2021-07-09T15:27:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-24T22:16:14.000Z (over 3 years ago)
- Last Synced: 2025-01-20T11:09:14.335Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
},
});
```