Skip to content
JS
Package

state-in-url

Store state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-16, react-router@6-7, remix@2, and Astro.

v8.0.0, 22 Sept 2026MITESM onlyTypes: BundledStatic site generators and meta-frameworksState management
$ npm install state-in-url

Key numbers

As of 25 Sept 2026
Weekly downloads
2.8k
+21% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 days ago
v8.0.0
GitHub stars
418
11 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
139

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.8k (25 Aug 2026)Low 2.6k (2 Jun 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,765 downloads last week, 21,264 in the last month. The 12-month change of +21% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
8.0.0, 22 Sept 20262 days ago
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
139
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19.0 || >=22.12.0
Runtimes
-
Unpacked size (npm)
550 kB
Dependencies (0)
None
Peer dependencies (5)
nextreactreact-router@remix-run/reactreact-router-dom
npm install state-in-url
  • jsDelivrhttps://cdn.jsdelivr.net/npm/state-in-url@8.0.0/
  • unpkghttps://unpkg.com/state-in-url@8.0.0/
  • esm.shhttps://esm.sh/state-in-url@8.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@mastra/ai-sdk256.6k-todayESM + CommonJS-
@copilotkit/web-components171.9k-2 days agoESM + CommonJS-
@copilotkit/channels-core144.7k-2 days agoESM only-
@copilotkit/channels-intelligence136.7k-2 days agoESM only-
@copilotkit/channels-slack117.9k-2 days agoESM only-
@copilotkit/channels-teams117.9k-2 days agoESM only-
@copilotkit/channels-whatsapp14.1k-2 days agoESM only-
@copilotkit/channels-telegram14k-2 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2765 < 10000.