Skip to content
JS
Package

next-ws

Add support for WebSockets in the Next.js app directory

v2.2.16, 24 Sept 2026MITCommonJSTypes: BundledWebSockets and realtime
$ npm install next-ws

Key numbers

As of 25 Sept 2026
Weekly downloads
8.5k
+232% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 day ago
v2.2.16
GitHub stars
327
25 forks
Open issues / PRs
5 / 0
Contributors
-
Commits, last 52 weeks
135

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 14.3k (18 Aug 2026)Low 3k (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

8,526 downloads last week, 47,999 in the last month. The 12-month change of +232% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.16, 24 Sept 20261 day ago
First published
-
Last push to GitHub
24 Sept 20261 day before the snapshot
Repository archived
No
Open issues
5
Open pull requests
0
Commits, last 52 weeks
135
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
59 kB
Dependencies (3)
semverminimistjscodeshift
Peer dependencies (3)
wsnextreact
npm install next-ws
  • jsDelivrhttps://cdn.jsdelivr.net/npm/next-ws@2.2.16/
  • unpkghttps://unpkg.com/next-ws@2.2.16/
  • esm.shhttps://esm.sh/next-ws@2.2.16
PackageWeekly downloadsGzipLast releaseModuleComparison
rpc-websockets1.9m-4 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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