nanoquery

Tiny querystring module

Usage no npm install needed!

<script type="module">
  import nanoquery from 'https://cdn.skypack.dev/nanoquery';
</script>

README

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