staledeps
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

staledeps

License Latest Version

Find stale dependencies in the package.json file(s).

Installation

npm install -g staledeps

Or simply using npx, the package runner bundled with npm:

$ npx staledeps

Note: staledeps requires Node.js >= 18.

Usage

Usage: staledeps <path(s)> [options]

Options:
      --version    Show version number                                 [boolean]
  -h, --help       Show help                                           [boolean]
  -d, --sort-dir   Direction to sort data
                                       [choices: "asc", "desc"] [default: "asc"]
  -f, --full       Show full report (including non-stale dependencies)
                                                      [boolean] [default: false]
  -o, --output     Format to output data
                                   [choices: "json", "table"] [default: "table"]
  -r, --registry   URL of registry to check against
                                         [default: "https://registry.npmjs.org"]
  -s, --sort       Field to sort data
                              [choices: "name", "lastPublish"] [default: "name"]
  -t, --threshold  Threshold to be determined as stale (see vercel/ms)
                                                                 [default: "2y"]

Examples:
  staledeps ./package.json  Find stale dependencies in the package.json file(s)

Readme

Keywords

none

Package Sidebar

Install

npm i staledeps

Weekly Downloads

2

Version

0.5.0

License

MIT

Unpacked Size

18.5 kB

Total Files

13

Last publish

Collaborators

  • pmmmwh