# graphql-ws

Zero-dependency GraphQL over WebSocket server and client library for JavaScript, with adapters for common WebSocket servers.


Source: https://findsoftware.frbit.cloud/graphql-ws/
Last reviewed: 2026-11-09
Listed since: 2026-11-09

## Record

### Links

- home: https://the-guild.dev/graphql/ws
- repository: https://github.com/enisdenjo/graphql-ws
- docs: https://the-guild.dev/graphql/ws/docs
- x: https://x.com/theguilddev

### Identity

- status: active
- maintainer: Denis Badurina
- maintainerType: individual
- parent: unknown
- firstRelease: 2020
- hqCountry: unknown

### Kind

- category: backend
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: node 20
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-10-15

### Adoption

- githubStargazers: 1872
- packagistDownloads: not applicable
- npmWeeklyDownloads: 16768220
- contributors: 64
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 53476
- dependentPackages: 443

### Sources

- urls: https://the-guild.dev/graphql/ws (read 2026-11-09)
- urls: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- urls: https://github.com/enisdenjo/graphql-ws/blob/master/README.md (read 2026-11-09)
- firstRelease: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- maintainer: https://github.com/enisdenjo/graphql-ws/blob/master/LICENSE.md (read 2026-11-09)
- language: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- category: https://github.com/enisdenjo/graphql-ws/blob/master/README.md (read 2026-11-09)
- runtime: https://registry.npmjs.org/graphql-ws/6.4.1 (read 2026-11-09)
- runtimeMin: https://registry.npmjs.org/graphql-ws/6.4.1 (read 2026-11-09)
- installMethod: https://the-guild.dev/graphql/ws/guides (read 2026-11-09)
- license: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- licenseModel: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- currentMajor: https://registry.npmjs.org/graphql-ws (read 2026-11-09)
- latestReleaseDate: https://registry.npmjs.org/graphql-ws (read 2026-11-09)
- githubStargazers: https://api.github.com/repos/enisdenjo/graphql-ws (read 2026-11-09)
- contributors: https://github.com/enisdenjo/graphql-ws (read 2026-11-09)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/graphql-ws (read 2026-11-09)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/graphql-ws (read 2026-11-09)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/graphql-ws (read 2026-11-09)

## Notes

graphql-ws is a JavaScript library that implements the GraphQL over WebSocket protocol for both a server and a client. The [get-started guide](https://the-guild.dev/graphql/ws/guides) shows servers built on ws, uWebSockets.js, Fastify, Bun, Deno and crossws. The homepage describes the library as zero-dependency.

## Worth knowing

The README says the library and the protocol are not cross-compatible with subscriptions-transport-ws, a deprecated package.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
