find-unused-imports
v1.0.3
Published
Find unused imports in project
Downloads
4
Readme
find-unused-imports v1.0.3
The find-unused-imports library exported as Node.js modules.
Installation
Using npm:
$ npm i -g find-unused-imports
$ npm i --save find-unused-imports
In Node.js:
const findUnusedImports = require('find-unused-imports');
// Method to use
// * -> find all directories
// Directory Name -> find in specific directories
const unusedImports = findUnusedImports('Directory Name');
// Log
console.log(unusedImports);