glob-slash
Prefix globs with a slash and normalize. Supports negated globs too
Last updated 10 years ago by scottcorgan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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 (10 years ago)

1 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |