fuf
v1.0.0
Published
fuf - Find Unused Files in a directory
Downloads
5
Readme
Usage
import fuf from 'fuf'
fuf('target/directory', 'files/directory/**.*')
.then(results => {
console.log(results.unused)
console.log(results.used)
})
How it works?
fuf
find filenames that will be test for usage.fuf
find usage of those filenames in files from a target directory.fuf
output a list of unused files and a list of used files.
Development
- Clone and fork this repo.
- Install dependencies:
npm install
. - Do your stuff.
- Run tests.
- Prepare a pull request.
Releases
npm install --global np
np
Made with :heart: by Rubens Mariuzzo.