0.1.3 • Published 5 years ago

@unneeded/unneeded v0.1.3

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

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 unneeded
  • entry, the array of entry files
  • audit, the array of directories you want to check if there are some files are unneeded

License

MIT