UNPKG

filter-files

Version:

Recursively read directories and return a list of files, filtered to have only the files for which the (optional) filter function returns `true`. Sync and async.

60 lines (59 loc) 1.29 kB
{ "name": "filter-files", "description": "Recursively read directories and return a list of files, filtered to have only the files for which the (optional) filter function returns `true`. Sync and async.", "version": "0.4.0", "homepage": "https://github.com/jonschlinkert/filter-files", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git://github.com/jonschlinkert/filter-files.git" }, "bugs": { "url": "https://github.com/jonschlinkert/filter-files/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/filter-files/blob/master/LICENSE-MIT" } ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec" }, "dependencies": { "async": "^0.9.0", "is-directory": "^0.2.2" }, "devDependencies": { "benchmarked": "^0.1.3", "chalk": "^0.5.1", "glob": "^4.0.6", "mocha": "*", "should": "^4.1.0" }, "keywords": [ "dir", "directories", "ext", "extension", "file", "file-path", "file-system", "filepath", "files", "filter", "fs", "javascript", "js", "path", "util", "utils" ] }