@zkochan/pnpm
Version:
A fast implementation of npm install
26 lines (17 loc) • 374 B
Markdown
# glob-slash
Prefix globs with a slash and normalize. Supports negated globs too.
## Install
```
npm install glob-slash --save
```
## Usage
```js
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
```