0.1.0 • Published 10 years ago

absolute-glob v0.1.0

Weekly downloads
8
License
MIT
Repository
github
Last release
10 years ago

absolute-glob

Make a glob pattern absolute and unixify it

npm status Travis build status AppVeyor build status Dependency status

example

var absolute = require('absolute-glob')

absolute() === '/';
absolute('foo') === '/foo';
absolute('\\foo/*.{js, css}') === '/foo/*.{js, css}';
absolute('C:\\**') === '/**';

// negative globs
absolute('!') === '!/';
absolute('!*.md') === '!/*.md';

install

With npm do:

npm install absolute-glob

license

MIT © Vincent Weevers