glob-slash
Prefix globs with a slash and normalize. Supports negated globs too
Last updated 12 years ago by scottcorgan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install glob-slash 
SYNC missed versions from official npm registry.

glob-slash

Prefix globs with a slash and normalize. Supports negated globs too.

Install

npm install glob-slash --save

Usage

var globSlash = require('glob-slash');

console.log(globSlash('!**/testing')) // OUTPUTS: !/**/testing
console.log(globSlash('another-test//**')) // OUTPUTS: /another-test/**

Run Tests

npm install
npm test

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

1 Versions

  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 3
Today 1
This Week 2
This Month 3
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE