xtend-url
v1.0.0
Published
Append to an URL without the headache
Downloads
6
Readme
xurl
Append to an URL without the headache
- no double-slashes
- correct querystring merging
install
npm install --save xtend-url
usage
const xurl = require('xtend-url')
xurl('http://foo.bar/?baz=qux', '/baz?foo=bar')
// -> http://foo.bar/baz?baz=qux&foo=bar
license
MIT