Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.21 KB

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