node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

nanoquery

nanoquery stability

npm version build status downloads js-standard-style

Tiny querystring module for Node, Electron and browsers.

Usage

var nanoquery = require('nanoquery')
 
var kv = nanoquery(window.location.href)
console.log(kv)

API

kv = nanoquery(url)

Destructure a url to an object containing the querystring mapping

License

MIT