Skip to content
JS
Package

nats.ws

WebSocket NATS client

v1.30.3Apache-2.0ESM + CommonJSTypes: BundledWebSockets and realtime
$ npm install nats.ws
Deprecated on npm
Package deprecated. Use @nats-io/nats-core or nats.js instead: https://github.com/nats-io/nats.js

Key numbers

As of 25 Sept 2026
Weekly downloads
37.6k
+88% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.30.3
GitHub stars
379
32 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 46.2k (25 Aug 2026)Low 15k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

37,551 downloads last week, 163,495 in the last month. The 12-month change of +88% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.30.3
First published
-
Last push to GitHub
15 Dec 2025283 days before the snapshot
Repository archived
Yes
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.5 MB
Dependencies (0)
None
npm install nats.ws

CDN

jsDelivr: 3.6m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nats.ws@1.30.3/
  • unpkghttps://unpkg.com/nats.ws@1.30.3/
  • esm.shhttps://esm.sh/nats.ws@1.30.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@prestizni-software/server-dem7.6k-8 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated.