@xesam/url-object
v0.1.2
Published
A simple URL-style string Builder
Downloads
11
Readme
@xesam/url-object
A simple URL modifier.
Usage
npm install @xesam/url-object
const {UrlObject} = require('@xesam/url-object');
const urlObject = new UrlObject('https://admin:root@ahost:443/apath?k=v');
urlObject.hash('ahash');
console.log(cu.toString()) // https://admin:root@ahost:443/apath?k=v#ahash