Package
use-query-params
React Hook for managing state in URL query parameters with easy serialization.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 397.2k
- +41% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 10 months ago
- v2.2.2
- GitHub stars
- 2.2k
- 99 forks
- Open issues / PRs
- 36 / 8
- Contributors
- -
- Commits, last 52 weeks
- 12
Downloads
Last week 2026-09-15 to 2026-09-21
397,155 downloads last week, 2,033,944 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 140 in total
- Latest version
- 2.2.2, 22 Nov 202510 months ago
- First published
- 15 Mar 2019
- Last push to GitHub
- 21 Jan 2026246 days before the snapshot
- Repository archived
- No
- Open issues
- 36
- Open pull requests
- 8
- Commits, last 52 weeks
- 12
- Dependents on npm
- 105
Major versions
- v2 first release 2.0.0, 1 Aug 2022
- v1 first release 1.0.0, 17 Apr 2020
- v0 first release 0.1.0, 15 Mar 2019
Recent releases
| Version | Published |
|---|---|
| 2.2.2 | 22 Nov 2025 |
| 2.2.1 | 24 Mar 2023 |
| 2.2.0 | 8 Feb 2023 |
| 2.1.2 | 24 Oct 2022 |
| 2.1.1 | 17 Sept 2022 |
| 2.1.0 | 31 Aug 2022 |
| 2.0.1 | 31 Aug 2022 |
| 2.0.0 | 1 Aug 2022 |
| 1.2.3 | 10 Jul 2021 |
| 1.2.2 | 27 Mar 2021 |
| 1.2.1 | 25 Mar 2021 |
| 1.2.0 | 20 Feb 2021 |
| 1.1.9 | 8 Nov 2020 |
| 1.1.8 | 17 Sept 2020 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 287 kB
- Dependencies (1)
serialize-query-params- Peer dependencies (4)
reactreact-dom@reach/routerreact-router-dom
npm install use-query-params- jsDelivr
https://cdn.jsdelivr.net/npm/use-query-params@2.2.2/ - unpkg
https://unpkg.com/use-query-params@2.2.2/ - esm.sh
https://esm.sh/use-query-params@2.2.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| with-query | 10.4k | - | 6 years ago | ESM + CommonJS | - |
Indexability: Indexed.