Wondering what’s next for npm?Check out our public roadmap! »

    glob-slash

    1.0.0 • Public • Published

    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
    

    Install

    npm i glob-slash

    DownloadsWeekly Downloads

    271,541

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar