files-filters
v0.1.2
Published
Functions for fantastically fast file filtering, and more things that start with 'f'.
Downloads
7
Readme
files-filters
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.