absolute-glob

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i absolute-glob

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • vweevers