{"name":"graphql-ws","version":"5.6.2","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.1.0","main":"lib/index.js","module":"lib/index.mjs","browser":"umd/graphql-ws.js","exports":{".":{"require":"./lib/index.js","import":"./lib/index.mjs","browser":"./umd/graphql-ws.js"},"./lib/use/ws":{"require":"./lib/use/ws.js","import":"./lib/use/ws.mjs"},"./lib/use/uWebSockets":{"require":"./lib/use/uWebSockets.js","import":"./lib/use/uWebSockets.mjs"},"./lib/use/fastify-websocket":{"require":"./lib/use/fastify-websocket.js","import":"./lib/use/fastify-websocket.mjs"},"./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.17.5","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.7","@babel/plugin-proposal-object-rest-spread":"^7.17.3","@babel/plugin-proposal-optional-chaining":"^7.16.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@rollup/plugin-typescript":"^8.3.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^27.4.1","@types/ws":"^8.2.3","@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","babel-jest":"^27.5.1","eslint":"^8.9.0","eslint-config-prettier":"^8.4.0","eslint-plugin-prettier":"^4.0.0","fastify":"^3.27.2","fastify-websocket":"^4.0.0","glob":"^7.2.0","graphql":"^16.3.0","jest":"^27.5.1","prettier":"^2.5.1","replacestream":"^4.0.3","rollup":"^2.68.0","rollup-plugin-terser":"^7.0.2","semantic-release":"^19.0.2","subscriptions-transport-ws":"^0.11.0","tslib":"^2.3.1","typedoc":"^0.22.12","typedoc-plugin-markdown":"^3.11.14","typescript":"^4.5.5","uWebSockets.js":"github:uNetworking/uWebSockets.js#v20.6.0","ws":"^8.5.0","ws7":"npm:ws@^7.5.7"},"resolutions":{"npm/chalk":"^4.1.2"},"gitHead":"b8ef62bfb41e8d7a71dd4c15f0dc3640e8983745","bugs":{"url":"https://github.com/enisdenjo/graphql-ws/issues"},"_id":"graphql-ws@5.6.2","_nodeVersion":"16.14.0","_npmVersion":"8.5.1","dist":{"integrity":"sha512-TsjovINNEGfv52uKWYSVCOLX9LFe6wAhf9n7hIsV3zjflky1dv/mAP+kjXAXsnzV1jH5Sx0S73CtBFNvxus+SQ==","shasum":"c7e5e382bd80d7fef637ea0b86ef4b1cb3d0b09b","tarball":"http://registry-npm.ywwl.com/graphql-ws/download/graphql-ws-5.6.2.tgz","fileCount":31,"unpackedSize":272750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFkhTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOaRAAmE2idcG+xFyZhsSdvW6cBQkwjcKr9qWJTb1xUgZllUmACq3N\r\nlGK68lyhoXw/YUCCNpmYcnKWrTghYqM14jklf0YmrKjlVt/mTIIcijNVrTZI\r\nMWKWS4MrQZZUFRXg5qUsVbkKHxf4zAtU/4ckNBJdrKWbGJTMCVAhQKhYSQn/\r\ndyZMQk17antNAVCWmn8niB4xKRUmdt6HpCuh5cDeXGlQcUGrt/9ACfX0gA1m\r\nFkTEbULOmPL34aDpUanDaFz0dOX1r11+rKKYZ1n5YmVL74ILFGVu13oxEZGF\r\nv8ERSeJfkgHOZac7PkQz4dLip84jm+qG2OPGqM+ip7GzSfcj0R3zIXlXDHEP\r\nJ1N+Pj9pQZrv2eYLhFwH7G9BPC6ZQTyVANa5dS6VG2tl66S2eQ0UVwtyGnHf\r\nXYS0dzWC3/YLna/dDKxlOX/SurlXcqVAHAGBEO288/D4ySh9mhazcwZjX4S8\r\nOKzs8QRjoyBtwnturBaNNM9ViosQkkEh2Hl+soJB9jiEQC4Cbj0fMsmQGki1\r\nPWAx1haUEXCQ/GRitchgCmVJHCrsAFuSKY2Ctil8EZX8q47pII/CDTE8ohUs\r\nE04CrY/EFTw2vfqqWQ1sk7MkloqLY7Vb3zOKskLc6kqJbW9R4PaHXwyY8c9J\r\n3gkPFAo1V/BVIUowtLyW6VjtyZqiLnyPeBw=\r\n=8adS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpkEdt8BEORdpxAZxW8JetsfMyOpNoxB5hTarR3CIc9gIgHO3jc3o2qS+6qfHb+MsxDwsuqQsx5mCWehOZ1JVb52Q="}],"size":64083,"noattachment":false,"key":"/graphql-ws/-/graphql-ws-5.6.2.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.6.2_1645627475767_0.7153261001390696"},"_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":1645627475965,"_cnpm_publish_time":1645627475965,"dist-tags":{"alpha":"6.0.8-alpha-7b80b2e5ad1f8317349be5b7d79e94f62ea864dc","latest":"6.4.1","rc":"6.2.2-rc-b0ff8c3b2a686031889b706c261b49c9f503018b"}}