listy
v2.1.1
Published
List paths from any arguments
Downloads
18
Readme
listy
List resolved paths from any arguments.
Usage
const listy = require('listy');
const files = listy('./**/*.js');
// JavaScript files
Install
With npm do:
$ npm install listy
API
listy(arguments[, options])
arguments
Type: String
or Array<String>
options
Type: Object
which contains following optional parameters.
ext
(Type:String
)filter
(Type:Function
)
They will filter resolved file paths.
License
MIT: http://1000ch.mit-license.org