files-filters

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i files-filters

Weekly Downloads

4

Version

0.1.2

License

none

Last publish

Collaborators

  • doowb
  • jonschlinkert