xtend-url

1.0.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.01

Package Sidebar

Install

npm i xtend-url

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • angryunicorn