ws 8.22.2

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

ws@8.22.2 was published on 2026-11-08. Its manifest declares 0 runtime dependencies and 2 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.0.0.

All ws versions · Permanent reference to 8.22.2 · View npm registry JSON · Latest release

Package specifications

Version8.22.2
License declarationMIT
Published2026-11-08T14:55:20.195Z
Node.js requirement>=10.0.0
Type declarationsNot declared
Runtime dependency count0
Peer requirement count2
Optional dependency count0
Minified size313 B
Minified + gzip240 B
Unpacked distribution size149.41 KiB
Published file count19
Package typeNot declared
ES module entryNot declared
Default entryindex.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars22822
Repository forks2664

Install ws 8.22.2

npm install ws@8.22.2
pnpm add ws@8.22.2
yarn add ws@8.22.2

Runtime dependencies

  • None declared

Peer requirements

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review0/10 — Found 1/29 approved changesets -- score normalized to 0
Security-Policy10/10 — security policy file detected
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Binary-Artifacts10/10 — no binaries found in the repo
Maintained10/10 — 14 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
Branch-Protection0/10 — branch protection not enabled on development/release branches
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness