Install
server-only
This is a marker package to indicate that a module can only be used in Server Components.
0.0.1Latest, 3 Sep 2022
148MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
253KStars
7.0/10OpenSSF Scorecard
Homepage · Ask AI Mode · · Markdown
In the news
- The Server Only Listened on 127.0.0.1: How DNS Rebinding Turned Local MCP Servers Into Web-Reachable Tools dev.to, 26 Nov 2026
- My MCP Server Only Talks to APIs I Trust. That Doesn't Mean the Data Coming Back Is Trustworthy. dev.to, 15 Jul 2026
- How can i send emails without a server ? Only front-end Javascript with sendgrid or stackoverflow.com, 30 Oct 2024
- How do I run a ts-node/tsx script that imports a file containing `import "server-only"` stackoverflow.com, 14 Sep 2024
On Hacker News
- Show HN: A tiny solar-powered server only awake during the day 229 points, 89 comments, 2 Apr 2022
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.