Skip to content
JS
Package

server-only

This is a marker package to indicate that a module can only be used in Server Components.

v0.0.1, 3 Sept 2022MITCommonJSTypes: NoneReact
$ npm install server-only

Key numbers

As of 25 Sept 2026
Weekly downloads
12.8m
+542% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v0.0.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.1m (25 Aug 2026)Low 1.8m (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.

12,755,810 downloads last week, 61,431,882 in the last month. The 12-month change of +542% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
01 in total
Latest version
0.0.1, 3 Sept 20224 years ago
First published
3 Sept 2022
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
581

Major versions

  1. v0 first release 0.0.1, 3 Sept 2022

Recent releases

VersionPublished
0.0.13 Sept 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
611 B
Dependencies (0)
None
npm install server-only
  • jsDelivrhttps://cdn.jsdelivr.net/npm/server-only@0.0.1/
  • unpkghttps://unpkg.com/server-only@0.0.1/
  • esm.shhttps://esm.sh/server-only@0.0.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.