Skip to content

Flexible and fluent interface for searching the file system

License

Notifications You must be signed in to change notification settings

andymsuk/filehound

 
 

Repository files navigation

Filehound

npm Build Status Coverage Status license github-issues stars forks

Flexible and fluent interface for searching the file system

nodei.co

Installation

npm install --save filehound

Demo

Usage

The example below prints all of the files in a directory that have the .json file extension:

const FileHound = require('filehound');

const files = FileHound.create()
  .paths('/some/dir')
  .ext('json')
  .find();

files.then(console.log);

Documentation

For more examples and API details, see API documentation

Test

npm test

To generate a test coverage report:

npm run coverage

Contributing

See contributing guide

About

Flexible and fluent interface for searching the file system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 57.7%
  • JavaScript 27.1%
  • CSS 15.2%