{"name":"graphql-ws","version":"6.2.0","keywords":["protocol","graphql","transport","subscriptions","websockets","server","client","observables","express","relay","apollo","fastify","uwebsockets"],"author":{"name":"Denis Badurina","email":"badurinadenis@gmail.com"},"license":"MIT","_id":"graphql-ws@6.2.0","maintainers":[{"name":"enisdenjo","email":"badurinadenis@gmail.com"},{"name":"theguild-bot","email":"bot@the-guild.dev"}],"homepage":"https://the-guild.dev/graphql/ws","bugs":{"url":"https://github.com/enisdenjo/graphql-ws/issues"},"dist":{"shasum":"92ad14663e177d5fc3028c6ecc34506a2d1f77fc","tarball":"http://registry-npm.ywwl.com/graphql-ws/download/graphql-ws-6.2.0.tgz","fileCount":45,"integrity":"sha512-A0kH9R7JZNh4AKKHykmJdOb5IgRya07uCrhYOXm1UDyxCwc/6jEi5+UMUhoBVj/hsowJHRK7Y3LllMdlNJR+HA==","signatures":[{"sig":"MEUCIGR6i8RHGUqUTmy/6tbM77bF6xrojFNZ+XAp6EScKBEAAiEAm1bvlaXeHTRQx4VyHptOUFb7yMuiCxxENCd+pCzQlX4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCID6T/a26OTgpTJ/GAEqbxL7rkGFpruw2QLlzzXNQ06nTAiAm8b1C4TeJmIq/GmNLcT+zYRTR0HnAIcMUteEt95G2Pw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/graphql-ws@6.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":274330,"size":64495,"noattachment":false,"key":"/graphql-ws/-/graphql-ws-6.2.0.tgz"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","browser":"./dist/client.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":"./dist/client.js","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"browser":"./dist/client.js","require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}},"./use/ws":{"import":{"types":"./dist/use/ws.d.ts","default":"./dist/use/ws.js"},"require":{"types":"./dist/use/ws.d.cts","default":"./dist/use/ws.cjs"}},"./use/bun":{"import":{"types":"./dist/use/bun.d.ts","default":"./dist/use/bun.js"},"require":{"types":"./dist/use/bun.d.cts","default":"./dist/use/bun.cjs"}},"./use/deno":{"import":{"types":"./dist/use/deno.d.ts","default":"./dist/use/deno.js"}},"./use/crossws":{"import":{"types":"./dist/use/crossws.d.ts","default":"./dist/use/crossws.js"},"require":{"types":"./dist/use/crossws.d.cts","default":"./dist/use/crossws.cjs"}},"./package.json":"./package.json","./use/uWebSockets":{"import":{"types":"./dist/use/uWebSockets.d.ts","default":"./dist/use/uWebSockets.js"},"require":{"types":"./dist/use/uWebSockets.d.cts","default":"./dist/use/uWebSockets.cjs"}},"./use/@fastify/websocket":{"import":{"types":"./dist/use/@fastify/websocket.d.ts","default":"./dist/use/@fastify/websocket.js"},"require":{"types":"./dist/use/@fastify/websocket.d.cts","default":"./dist/use/@fastify/websocket.cjs"}}},"gitHead":"af4f5c9df60d6b73667d7d90ad1b1c851d22b482","scripts":{"test":"vitest","build":"pkgroll --clean-dist && rollup -c rollup.config.js && gzip umd/graphql-ws.min.js -c > umd/graphql-ws.min.js.gz","format":"yarn check:format --write","gendocs":"typedoc --options typedoc.js src/ && node scripts/post-gendocs.js","prepack":"yarn build","changeset":"changeset","check:types":"tsc --noEmit","check:format":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:66d39799-7349-48f5-98d1-64948a51c57e"}},"repository":{"url":"git+https://github.com/enisdenjo/graphql-ws.git","type":"git"},"_npmVersion":"11.16.0","description":"Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client","directories":{},"sideEffects":["umd/*"],"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"ws":"^8.18.0","glob":"^11.0.1","jsdom":"^26.0.0","rollup":"^4.30.1","vitest":"^2.1.8","crossws":"^0.3.5","fastify":"^5.2.1","graphql":"^16.10.0","pkgroll":"patch:pkgroll@npm%3A2.14.3#~/.yarn/patches/pkgroll-npm-2.14.3-b35ee21036.patch","typedoc":"^0.27.6","prettier":"^3.4.2","@types/ws":"^8.5.13","bun-types":"^1.1.43","typescript":"^5.7.3","@types/glob":"^8.1.0","uWebSockets.js":"github:uNetworking/uWebSockets.js#semver:^20.68.0","@changesets/cli":"^2.27.11","@fastify/websocket":"^11.0.2","prettier-plugin-sh":"^0.14.0","@tsconfig/strictest":"^2.0.5","prettier-plugin-pkg":"^0.18.1","@rollup/plugin-terser":"^0.4.4","typedoc-plugin-markdown":"^4.4.1","@changesets/changelog-github":"^0.5.0","@ianvs/prettier-plugin-sort-imports":"^4.4.1"},"peerDependencies":{"ws":"^8","crossws":"~0.3","graphql":"^15.10.1 || ^16 || ^17","@fastify/websocket":"^10 || ^11"},"peerDependenciesMeta":{"ws":{"optional":true},"crossws":{"optional":true},"@fastify/websocket":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/graphql-ws_6.2.0_1784910487056_0.22919440771870492","host":"s3://npm-registry-packages-npm-production"},"readme":"<div align=\"center\">\n  <br />\n\n![GraphQLOverWebSocket](https://user-images.githubusercontent.com/25294569/94527042-172dba00-023f-11eb-944b-88c0bd58a8d2.gif)\n\n  <h6>Coherent, zero-dependency, lazy, simple, <a href=\"PROTOCOL.md\">GraphQL over WebSocket Protocol</a> compliant server and client.</h6>\n\n[![graphql-ws](https://img.shields.io/npm/v/graphql-ws.svg?label=graphql-ws&logo=npm)](https://www.npmjs.com/package/graphql-ws)\n\n<i>Use [Server-Sent Events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) instead? Check out <b>[graphql-sse](https://github.com/enisdenjo/graphql-sse)</b>!</i>\n\n  <br />\n</div>\n\n## [Get started](https://the-guild.dev/graphql/ws/get-started)\n\nSwiftly start with the [get started guide on the website](https://the-guild.dev/graphql/ws/get-started).\n\n## [Recipes](https://the-guild.dev/graphql/ws/recipes)\n\nShort and concise code snippets for starting with common use-cases. [Available on the website.](https://the-guild.dev/graphql/ws/recipes)\n\n## [Documentation](https://the-guild.dev/graphql/ws/docs)\n\nAuto-generated by [TypeDoc](https://typedoc.org) and then [rendered on the website](https://the-guild.dev/graphql/ws/docs).\n\n## [How does it work?](PROTOCOL.md)\n\nRead about the exact transport intricacies used by the library in the [GraphQL over WebSocket Protocol document](PROTOCOL.md).\n\n## [Want to help?](CONTRIBUTING.md)\n\nFile a bug, contribute with code, or improve documentation? Read up on our guidelines for [contributing](CONTRIBUTING.md) and drive development with `yarn test --watch` away!\n\n## Disclaimer\n\nThis library and the [GraphQL over WebSocket Protocol](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md) are **not** cross-compatible with the [deprecated `subscriptions-transport-ws`](https://github.com/apollographql/subscriptions-transport-ws) and its [accompanying Protocol](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md).\n\nYou must use `graphql-ws` coherently and implement the [GraphQL over WebSocket Protocol](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md) on both sides, server and the client.\n","publish_time":1784910487152,"_cnpm_publish_time":1784910487152,"dist-tags":{"alpha":"6.0.8-alpha-7b80b2e5ad1f8317349be5b7d79e94f62ea864dc","latest":"6.4.1","rc":"6.2.2-rc-b0ff8c3b2a686031889b706c261b49c9f503018b"}}