Skip to content
JS
Package

use-ssr

☯️ React hook to determine if you're on the server or browser

v1.0.25, 14 Mar 2023MITCommonJSTypes: NoneStatic site generators and meta-frameworksReact
$ npm install use-ssr

Key numbers

As of 25 Sept 2026
Weekly downloads
50.2k
+12% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v1.0.25
GitHub stars
263
6 forks
Open issues / PRs
1 / 7
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 73k (8 Sept 2026)Low 14.2k (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.

50,229 downloads last week, 254,168 in the last month. The 12-month change of +12% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.25, 14 Mar 20233 years ago
First published
-
Last push to GitHub
14 Mar 20231,290 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
7
Commits, last 52 weeks
0
Dependents on npm
22

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
Peer dependencies (2)
reactreact-dom
npm install use-ssr
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-ssr@1.0.25/
  • unpkghttps://unpkg.com/use-ssr@1.0.25/
  • esm.shhttps://esm.sh/use-ssr@1.0.25
PackageWeekly downloadsGzipLast releaseModuleComparison
@react-hookz/web279.2k-1 month agoESM only-
eslint-config-next24m-2 days agoCommonJS-
react-head14.5k-4 years agoESM + CommonJS-
react-use-intercom346.3k-1 month agoESM + CommonJS-
react-multi-carousel146.8k-1 year agoCommonJS-
use-pull-to-refresh5.6k-4 months agoESM + CommonJS-
@mantine/ssr18.1k-2 years agoESM + CommonJS-
@frontman-ai/astro53.6k-16 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.