Negligent Parachute Maintainers
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    strip-pathpublic

    strip-path Build Status

    Strip a path from a path

    Install

    $ npm install --save strip-path

    Usage

    var stripPath = require('strip-path');
     
    stripPath('path1/path2/path3/path4', 'path1/path2');
    //=> 'path3/path4'

    API

    stripPath(path, stripPath)

    path

    Required
    Type: string

    The path to stripped.

    stripPath

    Required
    Type: string

    The path to strip from path.

    License

    MIT © Sindre Sorhus

    install

    npm i strip-path

    Downloadsweekly downloads

    6,147

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar