{"name":"graphql-ws","version":"4.2.1","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"],"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"},"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"},"./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","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 <=15"},"devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.13.8","@babel/plugin-proposal-object-rest-spread":"^7.13.8","@babel/plugin-proposal-optional-chaining":"^7.13.8","@babel/preset-env":"^7.13.10","@babel/preset-typescript":"^7.13.0","@rollup/plugin-typescript":"^8.2.0","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/jest":"^26.0.20","@types/ws":"^7.4.0","@typescript-eslint/eslint-plugin":"^4.17.0","@typescript-eslint/parser":"^4.17.0","babel-jest":"^26.6.3","eslint":"^7.21.0","eslint-config-prettier":"^8.1.0","eslint-plugin-prettier":"^3.3.1","glob":"^7.1.6","graphql":"^15.5.0","jest":"^26.6.3","prettier":"^2.2.1","replacestream":"^4.0.3","rollup":"^2.41.1","rollup-plugin-terser":"^7.0.2","semantic-release":"^17.4.1","tslib":"^2.1.0","typedoc":"^0.20.30","typedoc-plugin-markdown":"^3.6.0","typescript":"4.1.5","ws":"^7.4.4"},"gitHead":"b118342f40544640a29a8b8ef0bba09c98b9bee6","bugs":{"url":"https://github.com/enisdenjo/graphql-ws/issues"},"_id":"graphql-ws@4.2.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-j4RA5gl6tVUq/2iPzmbt7qbGj2WsdGq45jsmyxL/ek25cCm/yl198qAxXyLy418jhkFVMxf8VoAxUS7Zh4/k4Q==","shasum":"3e734ede574f7c0840b45a18cf26e8c26d864722","tarball":"http://registry-npm.ywwl.com/graphql-ws/download/graphql-ws-4.2.1.tgz","fileCount":32,"unpackedSize":205531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgShx7CRA9TVsSAnZWagAA5KQQAIkjma/QGQTenHJhsE0z\nhTxVdmD7tL2E7sDsjWNDuDiz11hfyrvvNQxbRZmci9Xx6Kzv+IDTHDHPSo6x\naT6CWwlVCx6KEaMIYeHyob6miGrCIZzcr/KQViAASvLdsncBhND1jHYo7G+v\nH4c/6KvPEtYNNZ8tLO2ZZaGJJLuVSRsSi62veFommzPdS322QOLyHCBWnyEs\nYt36ISgxW4fTEX3r09d5p1EZWshRopR7OmO736FdeRN19kiqoErxZCwvcwLU\nU4MRf2nz9vPq7J3X1CfjwK38fIjV2dkcYprfzL2GurHZkgzMG0b2EB3axptr\nBshPTJ/8fbWhii/eGlsj6DAz3y/Nc7dXCi8Sp1BKTlghW9hNDct0BbEPT4kW\n4nOk6+NERPvFGob/LZl3dIW7HyjpcuBi9vXcqu213odsufYrY/F3fKtHcU4I\nxwSWV6kRprRBahLv0AI0wJQUS/cJDO8QB8srR9Q+zr8HcoPpdhvVoGrnK7OY\n6KxdC3rKLgO8wEtukSuKHPFFUNGho7NroxrMjrM0rs5bkWKKAtQ7/9O+GuiV\nlF2TsGVErBFG7f0WbDqBmpknXgUa7AWDnEK10TUD9rKls8KStLrH0aY4TkyK\n4f5aMQl6NSQZ2cDkhu6fxt250s81W0YIMbO6bnsPrbF+Y4foagUg7+ctsN5O\nZB6E\r\n=ouVJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBub1Z3I90TR8GGp3Ywgz6/Zc2f7c+qxK8ItvwocD/YEAiEA8zZFobsm/KeJW5KATi1nc+956z9EHO9RjuCYUmqoRUs="}],"size":51705,"noattachment":false,"key":"/graphql-ws/-/graphql-ws-4.2.1.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_4.2.1_1615469691054_0.7281595752562438"},"_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":1615469691263,"_cnpm_publish_time":1615469691263,"dist-tags":{"alpha":"6.0.8-alpha-7b80b2e5ad1f8317349be5b7d79e94f62ea864dc","latest":"6.4.1","rc":"6.2.2-rc-b0ff8c3b2a686031889b706c261b49c9f503018b"}}