1.0.4 • Published 2 years ago

query-params-util v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Query Params syntax guide

Simple library to set and get the search string

Example

import { getQueryParams, setQueryParams } from "query-params-utils"

/** example.com?arr=1&arr=2&param=3 */
console.log(getQueryParams()); // { arr:[1,2], param: 3 }

setQueryParams({ arr:[1,2], param: 3 }); // example.com?arr=1&arr=2&param=3
1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago