#packages #check #project #cli #package #cargo-toml #package-json

app unused-pkg

A tool to check for unused and outdated packages in a Rust/Node project

1 unstable release

0.1.0 May 19, 2024

#1342 in Command line utilities

MIT license

15KB
194 lines

unused-pkg

This tool is used to check for unused packages in rust and javascript projects.

I know there are only tools to check for unused packages, but this is a side project.

How to use it

Simply call it in the directory containing the package.json or Cargo.toml file. It will list all unused and outdated packages.

Roadmap

  • Support for Cargo.toml unused crates + outdated crates listing.
    • Workspace support
  • Support for package.json unused dependencies + outdated dependencies listing.
  • Concurrent listing.
  • Do not consider files outside the module tree.

Dependencies

~10–25MB
~376K SLoC