Nutty Peanut Marshmallow
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    remove-trailing-slashpublic

    remove-trailing-slash

    removes trailing slashes

    Installation

    with component(1):

    $ component install stephenmathieson/remove-trailing-slash
    

    with npm:

    $ npm install remove-trailing-slash
    

    API

    removeTrailingSlash(str)

    Removes trailing slashes from the given str

    Example

    var slashes = require('slashes')
     
    slashes('http://google.com/').should.be.equal('http://google.com');

    License

    MIT

    Keywords

    none

    install

    npm i remove-trailing-slash

    Downloadsweekly downloads

    59,869

    version

    0.1.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar