Skip to content
JS
Package

use-query-params

React Hook for managing state in URL query parameters with easy serialization.

v2.2.2, 22 Nov 2025ISCESM + CommonJSTypes: BundledURLs and query stringsReact
$ npm install use-query-params

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
0200k400k600kSept 2025Mar 2026Sept 2026High 576.9k (25 Aug 2026)Low 183.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v2 first release 2.0.0, 1 Aug 2022
  2. v1 first release 1.0.0, 17 Apr 2020
  3. v0 first release 0.1.0, 15 Mar 2019

Recent releases

VersionPublished
2.2.222 Nov 2025
2.2.124 Mar 2023
2.2.08 Feb 2023
2.1.224 Oct 2022
2.1.117 Sept 2022
2.1.031 Aug 2022
2.0.131 Aug 2022
2.0.01 Aug 2022
1.2.310 Jul 2021
1.2.227 Mar 2021
1.2.125 Mar 2021
1.2.020 Feb 2021
1.1.98 Nov 2020
1.1.817 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-query-params@2.2.2/
  • unpkghttps://unpkg.com/use-query-params@2.2.2/
  • esm.shhttps://esm.sh/use-query-params@2.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
with-query10.4k-6 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.