fuf

1.0.0 • Public • Published

fuf – Find Unused Files in a directory

Usage

import fuf from 'fuf'

fuf('target/directory', 'files/directory/**.*')
  .then(results => {
    console.log(results.unused)
    console.log(results.used)
  })

How it works?

  1. fuf find filenames that will be test for usage.
  2. fuf find usage of those filenames in files from a target directory.
  3. fuf output a list of unused files and a list of used files.

Development

  1. Clone and fork this repo.
  2. Install dependencies: npm install.
  3. Do your stuff.
  4. Run tests.
  5. Prepare a pull request.

Releases

  1. npm install --global np
  2. np

Made with ❤️ by Rubens Mariuzzo.

MIT license

Readme

Keywords

Package Sidebar

Install

npm i fuf

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

9.73 kB

Total Files

5

Last publish

Collaborators

  • rmariuzzo