You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Chazot bd1233ba46
Début du projet
2 years ago
..
Makefile Début du projet 2 years ago
history.md Début du projet 2 years ago
index.d.ts Début du projet 2 years ago
index.js Début du projet 2 years ago
package.json Début du projet 2 years ago
readme.md Début du projet 2 years ago

readme.md

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