Skip to content
JS
Package

nats

Node.js client for NATS, a lightweight, high-performance cloud native messaging system

v2.29.3, 19 Mar 2025Apache-2.0CommonJSTypes: BundledWebSockets and realtime
$ npm install nats
Deprecated on npm
Package moved. Use @nats-io/transport-node from https://github.com/nats-io/nats.js

Key numbers

As of 25 Sept 2026
Weekly downloads
650.7k
+138% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v2.29.3
GitHub stars
1.6k
159 forks
Open issues / PRs
3 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 982.5k (25 Aug 2026)Low 234.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.

650,720 downloads last week, 3,438,068 in the last month. The 12-month change of +138% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
0105 in total
Latest version
2.29.3, 19 Mar 20251 year ago
First published
6 Jan 2012
Last push to GitHub
15 Dec 2025283 days before the snapshot
Repository archived
Yes
Open issues
3
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 15 Mar 2021
  2. v1 first release 1.0.0, 15 Jun 2018
  3. v0 first release 0.2.0, 6 Jan 2012

Recent releases

VersionPublished
2.29.319 Mar 2025
2.29.214 Feb 2025
2.29.110 Jan 2025
2.29.010 Jan 2025
2.28.230 Jul 2024
2.28.124 Jul 2024
2.28.01 Jul 2024
2.27.020 Jun 2024
2.26.020 May 2024
2.25.09 May 2024
2.24.03 May 2024
2.23.022 Apr 2024
2.22.010 Apr 2024
2.21.027 Mar 2024
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 14.0.0
Runtimes
-
Unpacked size (npm)
1.1 MB
Dependencies (1)
nkeys.js
npm install nats
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nats@2.29.3/
  • unpkghttps://unpkg.com/nats@2.29.3/
  • esm.shhttps://esm.sh/nats@2.29.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated.