@unneeded/unneeded
v0.1.3
Published
find unneeded files
Downloads
5
Readme
unneeded
Find unneeded file in directories by checking some entry files.
Usage
import { unneeded } from '@unneeded/unneeded'
unneeded({
context: '.',
entry: ['path/to/entry.js'],
audit: ['path']
})
Options
context
, the cwd for unneededentry
, the array of entry filesaudit
, the array of directories you want to check if there are some files are unneeded
License
MIT