Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maddhruv/clean-deps
Clean :shower: all node dependencies i.e. node_modules
https://github.com/maddhruv/clean-deps
Last synced: 5 days ago
JSON representation
Clean :shower: all node dependencies i.e. node_modules
- Host: GitHub
- URL: https://github.com/maddhruv/clean-deps
- Owner: maddhruv
- Created: 2020-02-18T05:35:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-02-18T06:21:34.000Z (over 4 years ago)
- Last Synced: 2024-10-06T15:34:15.991Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clean-deps
Clean :shower: all node dependencies i.e. node_modules
- :dolls: Works fantastically with mono-repos
- :leftwards_arrow_with_hook: can be hooked with [CLI](#CLI)
- :package: use as a [module](#modules) to get all node_modules dirs## Install
CLI
`npm i clean-deps -g`
or
Module
`npm i clean-deps`
## Usage
### CLI
Add as an npm-script
```js
{
"clean-deps": "clean-deps"
}
```### Modules
```js
const findDirs = require("clean-deps");const results = findDirs();
```