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

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

#1440 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

~11–25MB
~377K SLoC