Skip to content

choojs/nanoquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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