{"_id":"@apisandbox/y-websocket-server","_rev":"14-d40310f2c7e73e74804d76db002da89a","name":"@apisandbox/y-websocket-server","dist-tags":{"latest":"0.2.12"},"versions":{"0.1.1":{"name":"@apisandbox/y-websocket-server","version":"0.1.1","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.1.1","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"154277f5bf894299798f165651a856d976ade95e","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.1.1.tgz","fileCount":15,"integrity":"sha512-1jS6BHfzr2dsJYZ8BxIIkNzQ2e7hrDRWnjIG7zdors6s7LlSRTwVXcfB3PdNfiXyiq5xQbSebPU8+B50w0oEJA==","signatures":[{"sig":"MEUCICL8fiKGbjZyiGGN7ti4U+54mg/n/CuNUtlUHhBzOX8PAiEAz/C2wg7/vnLeKWpS1QpM4QahDL0Cr8va9oPLlQhBPAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61598},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./callback":{"types":"./dist/src/callback.d.ts","import":"./src/callback.js","default":"./src/callback.js","require":"./dist/callback.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"ec040f5633692478a0391e1b9c59d9dce51e6448","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"10.9.2","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.1.1_1745775529742_0.05215678082173825","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@apisandbox/y-websocket-server","version":"0.2.0","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.0","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"b0fa8e76776da69c71be223a30a592bd5eb045c9","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.0.tgz","fileCount":15,"integrity":"sha512-LV94HP/PjDL41zh/wEaO+ThXjO/xogSrDrd6x6KxSm9pBacG0kzl77Dk0+bLvXVW9SSBy1UGi72i86Ad30RiIQ==","signatures":[{"sig":"MEQCIHAJE+s6XJdXyGmKL+kdo8KDARZpbfz4726XPJLDHSpXAiBAtkmjhANfHBqWSvSqdwWOOwkL6VFfb6aFWfRtLtIPIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61730},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./callback":{"types":"./dist/src/callback.d.ts","import":"./src/callback.js","default":"./src/callback.js","require":"./dist/callback.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"15e99961464a5fc0efa535808b5bd5a085e82899","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"10.9.2","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.0_1745897279510_0.7873023470419951","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@apisandbox/y-websocket-server","version":"0.2.1","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.1","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"624de57651ef24bc745b6fb81a4f5a435a98a851","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.1.tgz","fileCount":15,"integrity":"sha512-gEg5/8j24+oRvgKh8vAmPCCM6ellpm+e7VcICaezpAXLNxeM0TmVqsQLG3PZ1iBmJFrtbZdf0H4xrz1enxDr/Q==","signatures":[{"sig":"MEQCIDW8ZX3FYyAkzEK4gDIL0BF7kGFjQc4GBP11T1Go4f6hAiBmbVW3VGXVXOmGUICVecVMQIUl085Pg5mmVKfh4O1Zdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61797},"type":"module","_from":"file:apisandbox-y-websocket-server-0.2.1.tgz","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./callback":{"types":"./dist/src/callback.d.ts","import":"./src/callback.js","default":"./src/callback.js","require":"./dist/callback.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"_resolved":"/private/var/folders/x1/j7lm38b52331r2mr_522phh80000gn/T/42a7244ad42c6e64f81fcf099f07befc/apisandbox-y-websocket-server-0.2.1.tgz","_integrity":"sha512-gEg5/8j24+oRvgKh8vAmPCCM6ellpm+e7VcICaezpAXLNxeM0TmVqsQLG3PZ1iBmJFrtbZdf0H4xrz1enxDr/Q==","repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"10.2.4","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"21.6.0","dependencies":{"ws":"^6.2.1","lib0":"^0.2.102","y-leveldb":"0.2.0","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.1_1746497161314_0.21448383775021185","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@apisandbox/y-websocket-server","version":"0.2.2","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.2","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"5eef05fba1cf37e3950a48ecdda659e442e69eee","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.2.tgz","fileCount":15,"integrity":"sha512-5l/CTI0SJi2M/pq9tIC4aQdpZFVL+tGd76naXAIZJARbP2MCutzuQtvSMNZ6t0CYeIBg+izH/UExmAJT6NiwKA==","signatures":[{"sig":"MEUCIGHUBKIAiWQQ/gZmr2fmbWRiEfb9ih3YCD+lQvZSFbBUAiEAqKREwa8Js4ZwE3ncTNkiErCga9J5iGvqo+XDyo/TZkQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62502},"type":"module","_from":"file:apisandbox-y-websocket-server-0.2.2.tgz","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./callback":{"types":"./dist/src/callback.d.ts","import":"./src/callback.js","default":"./src/callback.js","require":"./dist/callback.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"_resolved":"/private/var/folders/x1/j7lm38b52331r2mr_522phh80000gn/T/8428cc523ff6ed395dece58216d4e698/apisandbox-y-websocket-server-0.2.2.tgz","_integrity":"sha512-5l/CTI0SJi2M/pq9tIC4aQdpZFVL+tGd76naXAIZJARbP2MCutzuQtvSMNZ6t0CYeIBg+izH/UExmAJT6NiwKA==","repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"10.2.4","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"21.6.0","dependencies":{"ws":"^6.2.1","lib0":"^0.2.102","y-leveldb":"0.2.0","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.2_1746497247487_0.21031838377968137","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@apisandbox/y-websocket-server","version":"0.2.3","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.3","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"440d99c8ea758b1ffe9da9c8ead09825cb04b1a7","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.3.tgz","fileCount":14,"integrity":"sha512-BeAbO8A7wM1/zx5qxq4Bqkp1h2RJrNOyHg5VE7YBDHUcMZ3OD6xX0rhx3O4Ip0uqKLsc44yruU4JXgscdzI2Zw==","signatures":[{"sig":"MEUCIBXzz+BszC8LwBJAWQha8sfaK/xONqO2Ex8U3EGe4vv3AiEA4MaWRUIuGJOrMFHf7rlqmN5+c0qWp35bF741SpNB+QA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59787},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./callback":{"types":"./dist/src/callback.d.ts","import":"./src/callback.js","default":"./src/callback.js","require":"./dist/callback.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"e56868f9f4933e8ee32c09fd8875914bd01647a9","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.3_1760371638128_0.848981683594646","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@apisandbox/y-websocket-server","version":"0.2.4","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.4","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"53b323f03104a7d8e4a71093d10b67312e2d4ee2","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.4.tgz","fileCount":11,"integrity":"sha512-KjsqR4zEAs3etMK2sExmvz3+kpFPe0LjdKWWID2MBqOzCKPfjr9I0TIJhWx8yu7eZazmpnousn6q9ydCxTeLcw==","signatures":[{"sig":"MEYCIQD6+CxEY9ALLC8RoJsf7/8wGxKdMMELgQKDDrjp+q6C5gIhAPYfVeAsyQ0gy3kQB2+RYxXEGIe/162fD8HpZ6ZAi7NQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50673},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"f3349f63d98e54e5ac566169f59559cc7ac6ac18","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.4_1760371950058_0.6853694069756098","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@apisandbox/y-websocket-server","version":"0.2.5","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.5","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"665bb5500fd4b9a5c4213735b65ab4898831361f","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.5.tgz","fileCount":11,"integrity":"sha512-IFPHAOL3uuD+1FQc5TxxN62loOCYXbgyiBxy9/GncmEhsGHn6vEDS7qd0NTEg+44o/J/CbfDwDDEueasYz9wlQ==","signatures":[{"sig":"MEUCIQC9OFWblqzVGGHPy0UsKd4LLKyxmCqhHlsj0jb3h8/FwAIgCr7Tm5gCf/rnxg0ArzW5GxSTSYTSjZrlv62MWGkScPs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48776},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"f3349f63d98e54e5ac566169f59559cc7ac6ac18","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.5_1760372244196_0.9714682388336338","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@apisandbox/y-websocket-server","version":"0.2.6","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.6","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"45794674bd914d4883b7c48cc64279062a4b6232","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.6.tgz","fileCount":11,"integrity":"sha512-oWvn4/rcffU/oLYnOGKuHj1YnkXrwRBPTVSiQwhgKSgj1h/bVSqOz6a1HHUm/tuc+w/485m3aOBra70a5J5tSg==","signatures":[{"sig":"MEYCIQC1RbJqN6ynVBhYINeVn6jKXQiyHv2su8txiELFBeZ9AgIhAM4+LWSQH/nhPogEuc2QAfxfqpW5Jt1jS1xWjbqKmitS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47946},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"6dbc8ff94023de340bba1d0ccc6ee1d52df268f9","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.6_1760373582732_0.5156370971949906","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@apisandbox/y-websocket-server","version":"0.2.7","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.7","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"1cd57b31eb8b2eb56abbb826298e78185b26ada1","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.7.tgz","fileCount":11,"integrity":"sha512-6R6mJ+O7430TTtkTXQlVa7pU2seqCvTI2Nen8tNj+n5SdwA3rxFKJqR0us3euoK+700215mp86S0t+izwNloRw==","signatures":[{"sig":"MEQCIBgpGDXzcgT4GUHAcK+WVOC3AXTQxFsuuabdK9GaBmvXAiAG80ugPq0uEPPj+G+bmNl9PA72SFmtJ1wI+jBFWdk/Rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48287},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.7_1760374041330_0.1289650840180223","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@apisandbox/y-websocket-server","version":"0.2.8","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.8","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"6eec2e2005b38c345ced2a73e3e4e447b0b4bcd8","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.8.tgz","fileCount":11,"integrity":"sha512-CiwMxgZ/go/tAJ5/rkRXtWqG2SXAigWtIdsirMMqUV/y1yHdWeWy1CdklGWqhCJX7TNgZJITtw4zlq1WXGgqnA==","signatures":[{"sig":"MEYCIQCH3MRjIFsWF4c/T8uz99MRvJUr3Az4EKy0RiuvU6J7uwIhAL31uEoaThpYUX3TW1GN4xjhUMM7CCT06POBtprgzhX3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49250},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.8_1760374142812_0.5899880894714149","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@apisandbox/y-websocket-server","version":"0.2.9","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.9","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"d9a4b7062ae63542ab21b6d64f70b9ea4c10957a","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.9.tgz","fileCount":11,"integrity":"sha512-oDi3TksTzajZ1USyqQXF3ogfBQuqID7ySVQl0q2b/mMkRyTk9+r0OKwhefSVbdvrY3thSOjtr3yCnY0c84394g==","signatures":[{"sig":"MEUCIHJMqmav57400K3SnQLZ9fA1dw8dP4loySBEL6/9+0hsAiEA+67wd2kqUkb7rB3O0RjKF3Y+cYWx3AUjtbtAeen9q1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49321},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.9_1760374528765_0.787640464978137","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@apisandbox/y-websocket-server","version":"0.2.10","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.10","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"756d99ae1ce8c1ce92a7f5c5ee2bbeec94b07ff5","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.10.tgz","fileCount":11,"integrity":"sha512-bGj6P/1KnYfZMehdVTzbv/Cv4rgBybuhWvmZ6QJOmkVm6f+EnXa4SL5vSIEVl+RwZqDQvE0o26iOyk5uqcFcvQ==","signatures":[{"sig":"MEUCICTDtxLFE7KcNq7m8bl1i8Q3cnFT6BXMVZtPUAwUVbGqAiEAu9DbwDs/m9ivaWnTJUqi/oc1IbuM0YaVw0YpKDpb/yE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49500},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.10_1760374601333_0.12979343179433456","host":"s3://npm-registry-packages-npm-production"}},"0.2.11":{"name":"@apisandbox/y-websocket-server","version":"0.2.11","keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","_id":"@apisandbox/y-websocket-server@0.2.11","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"homepage":"https://github.com/yjs/y-websocket-server#readme","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"bin":{"y-websocket":"src/server.js","y-websocket-server":"src/server.js"},"dist":{"shasum":"0a9b91ed03cba79d9894629ea29e218047d184c5","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.11.tgz","fileCount":11,"integrity":"sha512-k7pz8Ol7XcEd6i+XQLiERzBlBvwI2pOLUe+4bJEpfhrVICUA/p7s89aAtQ1PpWJzFBukWIEBsSpCsL1POGX0cg==","signatures":[{"sig":"MEUCIDRcswORClEsq5NWQFqX6UcHatXVOOTTX5mZxx6qC0kJAiEA3+JWVeTS7ExfB3dcheIQ87DPdhET1e7lTW2qoo0d8RM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49568},"type":"module","engines":{"npm":">=8.0.0","node":">=16.0.0"},"exports":{"./utils":{"types":"./dist/src/utils.d.ts","import":"./src/utils.js","default":"./src/utils.js","require":"./dist/utils.cjs"},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/dmonad","type":"GitHub Sponsors ❤"},"gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","scripts":{"dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","start":"node ./src/server.js","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"standard":{"ignore":["/dist","/node_modules"]},"repository":{"url":"git+https://github.com/yjs/y-websocket-server.git","type":"git"},"_npmVersion":"11.5.1","description":"Backend for y-websocket","directories":{},"sideEffects":false,"_nodeVersion":"24.6.0","dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.5.0","rollup":"^4.39.0","standard":"^17.1.2","@types/ws":"^8.5.10","typescript":"^4.9.5","@types/node":"^18.15.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/y-websocket-server_0.2.11_1760374685321_0.02731467042842306","host":"s3://npm-registry-packages-npm-production"}},"0.2.12":{"name":"@apisandbox/y-websocket-server","version":"0.2.12","description":"Backend for y-websocket","type":"module","sideEffects":false,"funding":{"type":"GitHub Sponsors ❤","url":"https://github.com/sponsors/dmonad"},"scripts":{"start":"node ./src/server.js","dist":"rm -rf dist && rollup -c && tsc","lint":"standard && tsc","test":"npm run lint","preversion":"npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"},"bin":{"y-websocket-server":"src/server.js","y-websocket":"src/server.js"},"exports":{"./package.json":"./package.json","./utils":{"import":"./src/utils.js","require":"./dist/utils.cjs","types":"./dist/src/utils.d.ts","default":"./src/utils.js"}},"repository":{"type":"git","url":"git+https://github.com/yjs/y-websocket-server.git"},"keywords":["Yjs"],"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"homepage":"https://github.com/yjs/y-websocket-server#readme","standard":{"ignore":["/dist","/node_modules"]},"dependencies":{"lib0":"^0.2.102","y-protocols":"^1.0.5"},"devDependencies":{"@types/node":"^18.15.0","@types/ws":"^8.5.10","rollup":"^4.39.0","standard":"^17.1.2","typescript":"^4.9.5","yjs":"^13.5.0"},"peerDependencies":{"yjs":"^13.5.6"},"optionalDependencies":{"ws":"^6.2.1","y-leveldb":"0.2.0"},"engines":{"npm":">=8.0.0","node":">=16.0.0"},"_id":"@apisandbox/y-websocket-server@0.2.12","gitHead":"bb70cac30cb6f3571db91815c9d7ebf57ccba3d0","_nodeVersion":"24.6.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-UDgDCOOS/aLf8ksmtI+PGBfBjQ+W5dNiLGj4PLt3AFWAeDHhEnv7k3tq/U6H79SOBUQ8e0OtiG/FvnDg2WdbPA==","shasum":"9d1f6af5d514c14386067f3b688fc7c9ae6141ee","tarball":"https://registry.npmjs.org/@apisandbox/y-websocket-server/-/y-websocket-server-0.2.12.tgz","fileCount":11,"unpackedSize":49758,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBGBusWfLft5w474pTIGnUFSA7RSfsvxpyBuLUcxzbRVAiBm3bYKgn0n+J+o29gIenKDXprhEsL8XKjBBdNNXo6b8Q=="}]},"_npmUser":{"name":"benlorantfy","email":"ben@lorantfy.com"},"directories":{},"maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/y-websocket-server_0.2.12_1760374979729_0.6443476556856358"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-27T17:38:49.659Z","modified":"2025-10-13T17:03:00.167Z","0.1.1":"2025-04-27T17:38:49.921Z","0.2.0":"2025-04-29T03:27:59.914Z","0.2.1":"2025-05-06T02:06:01.621Z","0.2.2":"2025-05-06T02:07:27.737Z","0.2.3":"2025-10-13T16:07:18.326Z","0.2.4":"2025-10-13T16:12:30.244Z","0.2.5":"2025-10-13T16:17:24.382Z","0.2.6":"2025-10-13T16:39:42.903Z","0.2.7":"2025-10-13T16:47:21.540Z","0.2.8":"2025-10-13T16:49:03.043Z","0.2.9":"2025-10-13T16:55:28.937Z","0.2.10":"2025-10-13T16:56:41.519Z","0.2.11":"2025-10-13T16:58:05.493Z","0.2.12":"2025-10-13T17:02:59.956Z"},"bugs":{"url":"https://github.com/yjs/y-websocket-server/issues"},"author":{"name":"Kevin Jahns","email":"kevin.jahns@protonmail.com"},"license":"MIT","homepage":"https://github.com/yjs/y-websocket-server#readme","keywords":["Yjs"],"repository":{"type":"git","url":"git+https://github.com/yjs/y-websocket-server.git"},"description":"Backend for y-websocket","maintainers":[{"name":"benlorantfy","email":"ben@lorantfy.com"}],"readme":"\n# y-websocket-server :tophat:\n> Simple backend for [y-websocket](https://github.com/yjs/y-websocket)\n\nThe Websocket Provider is a solid choice if you want a central source that\nhandles authentication and authorization. Websockets also send header\ninformation and cookies, so you can use existing authentication mechanisms with\nthis server.\n\n## Quick Start\n\n### Install dependencies\n\n```sh\nnpm i @y/websocket-server\n```\n\n### Start a y-websocket server\n\nThis repository implements a basic server that you can adopt to your specific use-case. [(source code)](./src/)\n\nStart a y-websocket server:\n\n```sh\nHOST=localhost PORT=1234 npx y-websocket\n```\n\n### Client Code:\n\n```js\nimport * as Y from 'yjs'\nimport { WebsocketProvider } from 'y-websocket'\n\nconst doc = new Y.Doc()\nconst wsProvider = new WebsocketProvider('ws://localhost:1234', 'my-roomname', doc)\n\nwsProvider.on('status', event => {\n  console.log(event.status) // logs \"connected\" or \"disconnected\"\n})\n```\n\n## Websocket Server\n\nStart a y-websocket server:\n\n```sh\nHOST=localhost PORT=1234 npx y-websocket\n```\n\nSince npm symlinks the `y-websocket` executable from your local `./node_modules/.bin` folder, you can simply run npx. The `PORT` environment variable already defaults to 1234, and `HOST` defaults to `localhost`.\n\n### Websocket Server with Persistence\n\nPersist document updates in a LevelDB database.\n\nSee [LevelDB Persistence](https://github.com/yjs/y-leveldb) for more info.\n\n```sh\nHOST=localhost PORT=1234 YPERSISTENCE=./dbDir npx y-websocket\n```\n\n### Websocket Server with HTTP callback\n\nSend a debounced callback to an HTTP server (`POST`) on document update. Note that this implementation doesn't implement a retry logic in case the `CALLBACK_URL` does not work.\n\nCan take the following ENV variables:\n\n* `CALLBACK_URL` : Callback server URL\n* `CALLBACK_DEBOUNCE_WAIT` : Debounce time between callbacks (in ms). Defaults to 2000 ms\n* `CALLBACK_DEBOUNCE_MAXWAIT` : Maximum time to wait before callback. Defaults to 10 seconds\n* `CALLBACK_TIMEOUT` : Timeout for the HTTP call. Defaults to 5 seconds\n* `CALLBACK_OBJECTS` : JSON of shared objects to get data (`'{\"SHARED_OBJECT_NAME\":\"SHARED_OBJECT_TYPE}'`)\n\n```sh\nCALLBACK_URL=http://localhost:3000/ CALLBACK_OBJECTS='{\"prosemirror\":\"XmlFragment\"}' npm start\n```\nThis sends a debounced callback to `localhost:3000` 2 seconds after receiving an update (default `DEBOUNCE_WAIT`) with the data of an XmlFragment named `\"prosemirror\"` in the body.\n\n## License\n\n[The MIT License](./LICENSE) © Kevin Jahns\n","readmeFilename":"README.md"}