# apollographql/subscriptions-transport-ws

:arrows_clockwise: A WebSocket client + server for GraphQL subscriptions

Repository: https://github.com/apollographql/subscriptions-transport-ws
Canonical: https://ross.abutalabs.com/products/subscriptions-transport-ws
Homepage: https://www.npmjs.com/package/subscriptions-transport-ws
Language: TypeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2023-04-14T11:28:28+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3697, "days_push": 1237, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1507, forks 327 (observed 2026-08-28T04:04:55.139157+00:00)

## What it is
A WebSocket client and server library for GraphQL subscriptions, originally the first TypeScript implementation of a WebSocket-based GraphQL subscriptions transport. It is no longer maintained and users are directed to migrate to graphql-ws.

## Use cases
- add real-time graphql subscriptions over websockets
- maintain a legacy nodejs app using subscriptions-transport-ws
- migrate from subscriptions-transport-ws to graphql-ws
- understand the legacy graphql over websocket protocol
- support old clients speaking the subscriptions-transport-ws protocol

## When to choose
- you must maintain or interoperate with an existing system already using this legacy protocol
- you need reference material for migrating to graphql-ws

## When to avoid
- starting any new project - use graphql-ws instead
- you need an actively maintained graphql subscriptions transport
- you want the newer graphql-ws protocol

## Facets
- artifact type: library
- maturity: abandoned
- function: websocket, graphql, http-server
- domain: web-development, apis
- platform: -
- tags: graphql-subscriptions, websocket-transport, deprecated, legacy, real-time, nodejs, typescript

## Member repositories
- apollographql/subscriptions-transport-ws (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.139157+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:36.016684+00:00, confidence not recorded.
  - readme: https://github.com/apollographql/subscriptions-transport-ws (fetched 2026-08-28T04:04:55.139157+00:00, sha 325cef717e3c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
