Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

listy

1000ch64MIT2.1.1

List paths from any arguments

readme

listy

Build Status NPM version Dependency Status devDependency Status

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