Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.18 KB

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.

ditched usage

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]