ditched
Version:
List dependencies that haven't been updated in a long time.
46 lines (33 loc) • 1.21 kB
Markdown
# ditched
Command line tool to find npm dependencies that have been ditched.
A ditched package is one that has not been updated in more than one year.
This is a fork of the abandoned project [abandoned](https://github.com/brendonboshell/abandoned).

## How to Use
Within your project, run
```
npx ditched
```
You can also install it as a dev dependency and use it in your scripts,
for example as part of your build procedure or as a reminder after install.
```
npm install --dev ditched
```
package.json:
```
"scripts": {
"test": "ditched",
"postinstall": "ditched"
}
```
### Options
```
Options:
--help Show help [boolean]
--version Show version number [boolean]
-a, --all Include all dependencies in the resulting table, not only those
that are ditched [boolean] [default: false]
-d, --days The number of days since last release needed to consider a
package as ditched [number] [default: 365]
-l, --levels How many levels we go down recursively [number] [default: 0]
```