fix-unused-deps

NPM command to automatically remove unused dependencies

Usage no npm install needed!

<script type="module">
  import fixUnusedDeps from 'https://cdn.skypack.dev/fix-unused-deps';
</script>

README

fix-unused-deps

NPM command to automatically remove unused dependencies

Usage

fix-unused-deps

command to remove unused deps

Options:
      --version  Show version number                                   [boolean]
      --help     Show help                                             [boolean]
  -d, --dryRun   it only prints unused deps to console, without removing them

Example

  1. npm i -g fix-unused-deps
  2. cd into your npm package folder
  3. run fix-unused-deps