🔍 fuf – Find Unused Files in a directory.
MIT License
npm install fuf
import fuf from 'fuf'
fuf('target/directory', 'files/directory/**.*')
.then(results => {
console.log(results.unused)
console.log(results.used)
})
fuf
find filenames that will be tested for usage.fuf
find the usage of those filenames in files from a target directory.fuf
output a list of unused files and a list of used files.npm install
.npm install --global np
np
Made with ❤️ by Rubens Mariuzzo.