{"name":"graphql-ws","version":"5.13.0","description":"Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client","keywords":["protocol","graphql","transport","subscriptions","websockets","server","client","observables","express","relay","apollo","fastify","uwebsockets"],"author":{"name":"Denis Badurina","email":"badurinadenis@gmail.com"},"license":"MIT","homepage":"https://github.com/enisdenjo/graphql-ws#readme","repository":{"type":"git","url":"git+https://github.com/enisdenjo/graphql-ws.git"},"engines":{"node":">=10"},"packageManager":"yarn@3.5.1","types":"lib/index.d.ts","main":"lib/index.js","module":"lib/index.mjs","browser":"umd/graphql-ws.js","exports":{".":{"types":"./lib/index.d.ts","require":"./lib/index.js","import":"./lib/index.mjs","browser":"./umd/graphql-ws.js"},"./lib/use/ws":{"types":"./lib/use/ws.d.ts","require":"./lib/use/ws.js","import":"./lib/use/ws.mjs"},"./lib/use/uWebSockets":{"types":"./lib/use/uWebSockets.d.ts","require":"./lib/use/uWebSockets.js","import":"./lib/use/uWebSockets.mjs"},"./lib/use/@fastify/websocket":{"types":"./lib/use/@fastify/websocket.d.ts","require":"./lib/use/@fastify/websocket.js","import":"./lib/use/@fastify/websocket.mjs"},"./lib/use/fastify-websocket":{"types":"./lib/use/fastify-websocket.d.ts","require":"./lib/use/fastify-websocket.js","import":"./lib/use/fastify-websocket.mjs"},"./lib/use/bun":{"bun":"./lib/use/bun.mjs","types":"./lib/use/bun.d.ts","require":"./lib/use/bun.js","import":"./lib/use/bun.mjs"},"./lib/use/deno":{"types":"./lib/use/deno.d.ts","require":"./lib/use/deno.js","import":"./lib/use/deno.mjs"},"./package.json":"./package.json"},"sideEffects":["umd/*"],"publishConfig":{"access":"public"},"workspaces":["website"],"scripts":{"gendocs":"typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs","lint:eslint":"eslint 'src'","lint:prettier":"prettier -c .","lint":"yarn lint:eslint && yarn lint:prettier","type-check":"tsc --noEmit","test":"jest","bench:start-servers":"NODE_ENV=production node benchmark/servers/index.mjs","bench":"k6 run benchmark/k6.mjs","build:esm":"tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs","build:cjs":"tsc -b tsconfig.cjs.json","build:umd":"rollup --bundleConfigAsCjs --config rollup.config.ts --configPlugin typescript && gzip umd/graphql-ws.min.js -c > umd/graphql-ws.min.js.gz","build":"yarn build:esm && yarn build:cjs && yarn build:umd","release":"semantic-release"},"peerDependencies":{"graphql":">=0.11 <=16"},"devDependencies":{"@babel/core":"^7.21.8","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-nullish-coalescing-operator":"^7.18.6","@babel/plugin-proposal-object-rest-spread":"^7.20.7","@babel/plugin-proposal-optional-chaining":"^7.21.0","@babel/preset-env":"^7.21.5","@babel/preset-typescript":"^7.21.5","@fastify/websocket":"^7.2.0","@rollup/plugin-terser":"^0.4.1","@rollup/plugin-typescript":"^11.1.0","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/eslint":"^8.37.0","@types/glob":"^8.1.0","@types/jest":"^29.5.1","@types/ws":"^8.5.4","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","babel-jest":"^29.5.0","bun-types":"^0.5.8","eslint":"^8.40.0","eslint-config-prettier":"^8.8.0","fastify":"^4.17.0","fastify-websocket":"4.2.2","glob":"^10.2.3","graphql":"^16.6.0","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","jest-jasmine2":"^29.5.0","prettier":"^2.8.8","replacestream":"^4.0.3","rollup":"^3.21.6","semantic-release":"^21.0.2","subscriptions-transport-ws":"^0.11.0","tslib":"^2.5.0","typedoc":"^0.24.7","typedoc-plugin-markdown":"^3.15.3","typescript":"^5.0.4","uWebSockets.js":"github:uNetworking/uWebSockets.js#v20.24.0","ws":"8.12.0","ws7":"npm:ws@^7.5.9"},"gitHead":"6d57a719b412b90302aa7190af712952f0e6eb00","bugs":{"url":"https://github.com/enisdenjo/graphql-ws/issues"},"_id":"graphql-ws@5.13.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-2VwsecxYZsIZrHDzNOS2R8pIK5kTBRbrV8EVfE0J3pCESx75q+rILxx8oDNYC+HkKU1k6huRcol/vl4C9Co0mA==","shasum":"92f90858a70112ef8114eaa5e9e50792c3746449","tarball":"http://registry-npm.ywwl.com/graphql-ws/download/graphql-ws-5.13.0.tgz","fileCount":51,"unpackedSize":324722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSkQ2rdO+4oqqZjhjZYKkvdqRmaMnzgjmDxzIIMYcv8gIgdf1IwK2WxdMfJgovc7px4YhjRLzYu/xA4YBacchNsoY="}],"size":74225,"noattachment":false,"key":"/graphql-ws/-/graphql-ws-5.13.0.tgz"},"_npmUser":{"name":"enisdenjo","email":"badurinadenis@gmail.com"},"directories":{},"maintainers":[{"name":"enisdenjo","email":"badurinadenis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-ws_5.13.0_1683891087780_0.5894254533270398"},"_hasShrinkwrap":false,"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[![Continuous integration](https://github.com/enisdenjo/graphql-ws/workflows/Continuous%20integration/badge.svg)](https://github.com/enisdenjo/graphql-ws/actions?query=workflow%3A%22Continuous+integration%22) [![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":1683891087970,"_cnpm_publish_time":1683891087970,"dist-tags":{"alpha":"6.0.8-alpha-7b80b2e5ad1f8317349be5b7d79e94f62ea864dc","latest":"6.4.1","rc":"6.2.2-rc-b0ff8c3b2a686031889b706c261b49c9f503018b"}}