Files
hackathon-v-escape-4ff8b5a6…/frontend/node_modules/remove-trailing-slash/readme.md
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00

491 B

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('remove-trailing-slash')

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

License

MIT