Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

staledeps

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

staledeps

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

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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)

FAQs

Package last updated on 21 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc