Neolithic Psychedelic Mushrooms
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i absolute-glob

DownloadsWeekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar