files-filters
Functions for fantastically fast file filtering, and more things that start with 'f'.
Last updated 11 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install files-filters 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.2                                ...           latest (11 years ago)

3 Versions

  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |