1.0.1 • Published 4 years ago
deprune v1.0.1
deprune
Deprune is a tool for analyzing and Pruning unused dependencies in batches to see: how each dependency is used, which dependencies are useless, and which dependencies are missing from package.json.

Status
Prune your npm module for unused dependencies in batches
Requirements
- Node >= 10.
Installation
$ npm install -g depruneUse
On the command line
This is the easiest way to use deprune.
$ deprune
Syntax Support
Depcheck not only recognizes the dependencies in JavaScript files, but also supports these syntaxes:
- JavaScript (ES5, ES6 and ES7)
- React JSX
- CoffeeScript
- Typescript (with
typescriptdependency) - SASS and SCSS (with
node-sassdependency) - Vue.js (with
@vue/compiler-sfcdependency)
To get the syntax support by external dependency, please install the corresponding package explicitly. For example, for Typescript user, install deprune with typescript package:
npm install -g deprune typescriptInspiration
- npm prune - Remove extraneous packages.
- depcheck - Check your npm module for unused dependencies.
- npm-check - Check for outdated, incorrect, and unused dependencies..