{"name":"graphql-ws","version":"5.10.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.2.1","main":"lib/index.js","module":"lib/index.mjs","browser":"umd/graphql-ws.js","exports":{".":{"require":"./lib/index.js","import":"./lib/index.mjs","types":"./lib/index.d.ts","browser":"./umd/graphql-ws.js"},"./lib/use/ws":{"require":"./lib/use/ws.js","import":"./lib/use/ws.mjs","types":"./lib/use/ws.d.ts"},"./lib/use/uWebSockets":{"require":"./lib/use/uWebSockets.js","import":"./lib/use/uWebSockets.mjs","types":"./lib/use/uWebSockets.d.ts"},"./lib/use/@fastify/websocket":{"require":"./lib/use/@fastify/websocket.js","import":"./lib/use/@fastify/websocket.mjs","types":"./lib/use/@fastify/websocket.d.ts"},"./lib/use/fastify-websocket":{"require":"./lib/use/fastify-websocket.js","import":"./lib/use/fastify-websocket.mjs","types":"./lib/use/fastify-websocket.d.ts"},"./package.json":"./package.json"},"types":"lib/index.d.ts","sideEffects":["umd/*"],"publishConfig":{"access":"public"},"scripts":{"gendocs":"typedoc --options typedoc.js src/","lint":"eslint 'src'","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.js","build:cjs":"tsc -b tsconfig.cjs.json","build:umd":"rollup -c && 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.18.10","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-nullish-coalescing-operator":"^7.18.6","@babel/plugin-proposal-object-rest-spread":"^7.18.9","@babel/plugin-proposal-optional-chaining":"^7.18.9","@babel/preset-env":"^7.18.10","@babel/preset-typescript":"^7.18.6","@fastify/websocket":"^7.0.0","@rollup/plugin-typescript":"^8.3.4","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^28.1.6","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.33.0","@typescript-eslint/parser":"^5.33.0","babel-jest":"^28.1.3","eslint":"^8.21.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","fastify":"^4.4.0","fastify-websocket":"4.2.2","glob":"^8.0.3","graphql":"^16.5.0","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-jasmine2":"^28.1.3","prettier":"^2.7.1","replacestream":"^4.0.3","rollup":"^2.77.2","rollup-plugin-terser":"^7.0.2","semantic-release":"^19.0.3","subscriptions-transport-ws":"^0.11.0","tslib":"^2.4.0","typedoc":"^0.23.10","typedoc-plugin-markdown":"^3.13.4","typescript":"^4.7.4","uWebSockets.js":"github:uNetworking/uWebSockets.js#v20.10.0","ws":"^8.8.1","ws7":"npm:ws@^7.5.9"},"resolutions":{"npm/chalk":"^4.1.2"},"gitHead":"1a79552690ed1d07482585327b03613571537612","bugs":{"url":"https://github.com/enisdenjo/graphql-ws/issues"},"_id":"graphql-ws@5.10.0","_nodeVersion":"18.7.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-ewbPzHQdRZgNCPDH9Yr6xccSeZfk3fmpO/AGGGg4KkM5gc6oAOJQ10Oui1EqprhVOyRbOll9bw2qAkOiOwfTag==","shasum":"3fb47a4e809e0d2e7c197f1bca754fa9f31b940e","tarball":"http://registry-npm.ywwl.com/graphql-ws/download/graphql-ws-5.10.0.tgz","fileCount":34,"unpackedSize":306225,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5cq06Nwq+XRnMhwbRhQn+tZQLsDCa0lGfESs4bJ5y5QIgD/HndCM78LsMfT2NWCNclmGR74yGbOQ3UX5llXaksxM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8nllACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmro5w//YJXhe1sPjv+/sLIk+YLhTDJcoXZPe6BGdRU9hczlRMnVq5br\r\nuFKhRfPJB8U/Kh11Sffe8fNuK8v4GI/vhVSlgMN+8zjPBoaES5L2V/fafCac\r\nJI0SWeN1mnRrcoMaJPiURZyQdhgHXpQAGeTaSpF4Pil9gfwApQqZiOPlsckH\r\noUbeik12+cEI3IioHrVtmE6Csl4jvqQhYSn+/GGvFJGnJXobJMFf0Yciv8hf\r\nYtI7dY2vdx4v64K3xLUO9vm7qnkJEZmYi3kPEgTrt3pdxn8oyp3SrwoK5TeX\r\n43J2+8slEEuoIrTIYxso5x/ZfN8thqUl0QsqeF+x5zVBzlnyrisOSeU0/9b3\r\nctJV9JyZCCWFMWclKW7frMmVOF9dV96dbdm+jq4W1298z8SohcxR+lFp3LEu\r\n0dO7c398Y3zJCkkv4NaRf91T94QgnMe2yi4npFi6Ltul02xQK7RdlQHzyWc+\r\nn5AamTMNn8qml8+xujB7XWsfVxfqTv24nVlIiSoQprwSpQJZ47bqzBnIRF6/\r\nqXkyOnQzj6jn95p368JUGkYceEcA3v9C9OHl7nYFd0preFS2ZFrnTY5aUnla\r\nYORjRHi9JQAo8V+MzLG1mEmNQK2OJyuA9pZyFzu2SRxkj3HZDmWcrZewOXF7\r\nSJcb7vEm6OTog4xe144PUU/XSqWlKfZnXYg=\r\n=Geju\r\n-----END PGP SIGNATURE-----\r\n","size":69526,"noattachment":false,"key":"/graphql-ws/-/graphql-ws-5.10.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.10.0_1660057957035_0.7186642980379419"},"_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":1660057957210,"_cnpm_publish_time":1660057957210,"dist-tags":{"alpha":"6.0.8-alpha-7b80b2e5ad1f8317349be5b7d79e94f62ea864dc","latest":"6.4.1","rc":"6.2.2-rc-b0ff8c3b2a686031889b706c261b49c9f503018b"}}