Run a command from every installed npm package under a certain directory
npm install bulk


End goal of this package is to make a more intuitive, simpler alternative to find/grep + xargs.
This is a more generalised fork of hughsk/scoped-bulk
`` bash`
Usage:
echo ./* | bulk -c "
bulk -c "
For example, running the following in your project root might yield something
like this:
` bash`
> ls -A | bulk -c "pwd"
/Users/timoxley/Projects/bulk/.git
/Users/timoxley/Projects/bulk/node_modules
/Users/timoxley/Projects/bulk/test
#### Clean all node_modules from children
This works well for cleaning dependencies out of symlinked packages, and allows for rededuplication without doing a full install.
`bash`
bulk -c "rm -rf ." node_modules/*
#### Install the dependencies of locally scoped modules:
You can use this, for example, to install the dependencies of locally scoped
modules:
` bash`
echo node_modules/@scoped/* | bulk -c "npm install --production"
#### Exit any time a nonzero exit code occurs
Runs all commands but exits on the first nonzero exit code.
` bash``
linklocal list -r | bulk -c 'npm test' -e
MIT. See LICENSE.md for details.