@unneeded/unneeded
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @unneeded/unneeded

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

226 kB

Total Files

22

Last publish

Collaborators

  • wyntau