GT2/GT2-Android/node_modules/remove-trailing-slash
Ren Ren Juan c5fd23b54f Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
..
.npmignore Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
Makefile Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
history.md Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
index.js Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
package.json Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
readme.md Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00

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('slashes')

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

License

MIT