Package Exports
- urlgray
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (urlgray) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
urlgray
Lightweight URL parsing and manipulation library.
I'll have an urlgray, 800B min+gzip, hold the sugar.
var Url = require('urlgray');
Url('http://localhost/')
.q({foo: 'bar'}) // 'http://localhost/?foo=bar'
.q('baz', 'qux') // 'http://localhost/?foo=bar&baz=qux'
.unQ(['foo', 'baz']) // 'http://localhost/'
.q({foo: ['bar', 'baz']}) // 'http://localhost/?foo=bar&foo=baz'
.query // {foo: ['bar', 'baz']}