0.1.0 • Published 10 years ago
absolute-glob v0.1.0
absolute-glob
Make a glob pattern absolute and unixify it
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
0.1.0
10 years ago