check-unused

Check for unused dependencies

Usage no npm install needed!

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

README

Check unused dependencies 🔍

Build Status TypeScript

CLI tool to check package.json and scan project directory for unused dependencies.

Usage

Run tool in the same folder where package.json is located.

Install globally:

npm i -g check-unused

Or run once with NPX:

npx check-unused

Will by default recursively scan from current directory. Pass another location if you want to scan a specific folder, ie:

npx check-unused ./src