/jspm-unused

Find unused files in a Jspm project

Primary LanguageJavaScriptMIT LicenseMIT

jspm-unused

Find unused files in a Jspm project

Install

npm install -g jspm-unused

Usage

jspm-unused app/app.js

This will print unused files on the console.

You can set the --quiet option to suppress superfluous output

jspm-unused --quiet app/app.js

As there is one file per line, one can feed the output to another command. For example, to remove unused files

rm `jspm-unused --quiet app/app.js`

Related