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

/xtend-url/

    Package Sidebar

    Install

    npm i xtend-url

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • angryunicorn