fresh-cli
v1.1.2
Published
Remove and reinstall your dependencies.
Downloads
23
Maintainers
Readme
fresh-cli
Remove and reinstall your dependencies.
Why?
- Cross-platform support.
- Works from any directory.
- More reliable than
npm update
. - Includes nested dependencies, too.
- Quick to type and easy to use.
- Removes safely (cannot
rm -rf /
).
npm does a much better job creating a dependency tree from scratch than modifying an existing one without breaking anything. By reinstalling node_modules
, you put yourself in a more well-known, consistent state.
This project works around many bugs:
Please add your own bugs to the list!
Install
npm install fresh-cli --global
Usage
$ fresh --help
Usage
$ fresh [cwd]
Example
$ fresh
$ fresh my-project
Contributing
See our contributing guidelines for more details.
- Fork it.
- Make a feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.
License
Go make something, dang it.