0.0.3 • Published 9 years ago

multiple-glob v0.0.3

Weekly downloads
88
License
public domain
Repository
github
Last release
9 years ago

multiple-glob

Match files using node-glob but with array of patterns.

Install

npm install multiple-glob

Usage

var multiglob = require('multiple-glob')

multiglob(['**/*.js', '!node/**', '**/*.css'], function(err, files) {
  console.log('Yay!')
})

##API

multiglob(patterns, options, callback)

Match files with array of patterns and combines results.

Patterns that begin with ! will exclude files. Patterns are processed in order, so inclusion and exclusion order is significant.

patterns

Type: array

List of patterns.

options

Type: object

Options for glob.

callback

Type: function

multiglob.sync(pattern, options)

Synchronous version.

License

Public domain, see the LICENCE.md file.

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago