sanitizeuri
v1.0.0
Published
sanitize uri
Downloads
2
Readme
node-sanitizeuri
## Install
npm install sanitizeuri --save
Usage
var sanitizeUri = require('sanitizeuri');
sanitizeUri([undefined, '///x///', ' / / y / /', undefined, 'z/', '///']);
// -> /x/y/z
## API
sanitizeUri ( string|[string], startsSlash = true, endsSlash = false)
License
MIT