Skip to content

jonschlinkert/files-filters

Repository files navigation

files-filters NPM version

Functions for fantastically fast file filtering, and more things that start with 'f'.

Install

Install with npm

npm i files-filters --save

Run tests

npm test

Usage

var filters = require('files-filters');
var files = require('filter-files');

var exclude = filters.exclude(/node_modules/);
var include = filters.include(/jscomments/, 'dirname');

console.log(files.sync('node_modules', [exclude, include]));
//=> try it and see ;)

WIP, for now take a look at the examples to see how these work.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on November 17, 2014.

About

Filter functions for files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published