0.0.4 • Published 4 years ago

urlqueryobject v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

urlqueryobject

A 180 byte (gzip) utility to get the current url query params as object.

Install

npm i urlqueryobject

Example

Url: https://example.com?foo=baz&something=more

import urlqueryobject from 'urlqueryobject';

const params = urlqueryobject();

console.log(params);

{
  foo: 'baz',
  something: 'more',
}

License

MIT

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago