nomyom
A small tool to reset your ./node_modules
.
-
npm
andyarn
support - cross-platform thanks to rimraf
- option to verify/clean cache
Inspired by @pzuraq's nombom and @johnotander's turn-it-off-and-on-again
Install
npm install -g nomyom
# OR
yarn global add nomyom
Usage
# inside a project directory
nomyom
Options
help
for all available arguments.
--clean
or -C
to clean the npm/yarn cache.
--skip-install
to skip reinstalling.
--verbose
to print additional output.
Todo
[x] auto-detect yarn vs npm
[ ] verbose should show all stdout/error
[x] add help
command
[ ] improve spinner on Windows