This package has been deprecated

Author message:

Use query-string

get-query-params
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

get-query-params

DEPRECATED, use query-string

npm version CircleCI codecov Maintainability Patreon ko-fi

Usage

npm i get-query-params
import getQueryParams from 'get-query-params'

const params = getQueryParams(window.location.search)
// Returns a JS object

// If the url is http://example.com?foo=bar&baz=quux,
// return value is
{ foo: 'bar', baz: 'quux' }

License

Package Sidebar

Install

npm i get-query-params

Weekly Downloads

2

Version

1.0.5

License

LGPL-3.0

Unpacked Size

13.6 kB

Total Files

7

Last publish

Collaborators

  • zacanger