{"_id":"y-excalidraw","_rev":"13-703c080785ad288b1929fab556100641","name":"y-excalidraw","dist-tags":{"latest":"2.0.12"},"versions":{"1.0.0":{"name":"y-excalidraw","version":"1.0.0","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@1.0.0","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"e3c2bc31f66921d11ef197236995389f60d8a10a","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-1.0.0.tgz","fileCount":10,"integrity":"sha512-9Xy0V82br10oFzkmzDGH+Oy/+I0/6fStKVgny/olyqG2Vtp1GbACjLQqw8h4z7RpbTZUnQYTbk49PvWsKYK5ZA==","signatures":[{"sig":"MEUCIQDJjX6YPYBqhnzAOo438F5p5JEmx6hZTIsVaOcJqdZU/AIgbnuOuB+PM7V3lD7tlwykhfU7Ts3PenIipkIb/EeWA7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85804},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"}},"gitHead":"bd27e2dcaaa11a16bba01891e80d64a8a5a39ada","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd mode && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_1.0.0_1728828500917_0.4912705379283875","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"y-excalidraw","version":"2.0.0","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.0","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"52d6d3f6457d02ebf6f6ebe85e1e9c6f2be6059c","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.0.tgz","fileCount":10,"integrity":"sha512-elnjqls2+dGzeh+8aE1whyAe1KNbXkz4aexuFV115a+AjV6ees9hFHu9z8dBBed/kNfdtBpbYzMa0wiU4K0P8g==","signatures":[{"sig":"MEYCIQDR4Ia+byLcZdpB2mEeaKBxc80CH2q+lS4y2WSqCcXm7AIhALBnwy6ADaU3MmjY6p7MLu7z4flcjjAyRd27+5tF1l+S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103726},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"}},"gitHead":"1543467557c6b0863a127745212fadfd1d32e2a1","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.0_1728994292221_0.2532244299384967","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"y-excalidraw","version":"2.0.1","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.1","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"acf21acc549a651eca70bcf9f08ef5a975828372","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.1.tgz","fileCount":10,"integrity":"sha512-WGHbm5DyzpIbojzxEwirW4ifqYukg4IV5h4R7kRDs2fZgmthVzMZfRX8jK4tQGrKKL5OK7OIGem5Y7+B9Nf1Tg==","signatures":[{"sig":"MEUCIE0ScWvDbK/hav7PaLMLB+9REF+qkULJo5etlOGNeKnuAiEAg4ya2fOwy6Tht3gkti3kcLp/AVh9b50VtPrGsQ4XgdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103883},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"1543467557c6b0863a127745212fadfd1d32e2a1","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"y-excalidraw":"^2.0.0","fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.1_1728994400430_0.6623780941123834","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"y-excalidraw","version":"2.0.2","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.2","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"2b34a89633224a4679cee5801562d8f77b5073f8","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.2.tgz","fileCount":10,"integrity":"sha512-AN8s3OdqAC3jiYJlD0To6TzN8cmnY7CurATx7RsD/xNYp0QYT6Q/uT53o/ff+s3ILnoYeWuAxWKnHB/dSNwzaw==","signatures":[{"sig":"MEYCIQDJCbSKd5HT1Zopvygcl8PnIf873Ub95cPdbp1FasDydgIhAIEf6tLvbI9lEWtR4kkYlYxq6Udkt4p2gfxABCFoBNLT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104202},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"ff7efe97b23df29c1a31576e0ebd746ef668389a","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.2_1729006873866_0.7378091149656081","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"y-excalidraw","version":"2.0.3","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.3","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"5ecd12009297d20e131252d65de1f503e1996565","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.3.tgz","fileCount":10,"integrity":"sha512-6BgErkVm1v6nrCAJEHLWrXCoqOmL8ioJXwIXElHZOlIVnvv+oQthzp2CP+vuhXD5FVewKGCPCepa3IQ1HKOakw==","signatures":[{"sig":"MEYCIQCkjf//t8cMGkI5ocoKp35fij3jgqemRgtAFdloPGvIyAIhALjlVUS29EYZEh9hhuTGKuQeh30S3z/PdjoUghA5OYBx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104194},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"5352826be68029f0b6dab64dcf56f63fdaa7f1d5","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.3_1729007227872_0.5844224804030014","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"y-excalidraw","version":"2.0.4","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.4","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"5ac9580d89b84eaeb8f3065caeac1a75867fbeef","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.4.tgz","fileCount":10,"integrity":"sha512-4liaZhHc4ha2xLASoepkZQTE/QaP9rOadD7c52NQ3VVWX9NKv+NT27nE0UakkAmS08+xLO9RYEdfbGROXikoYA==","signatures":[{"sig":"MEUCIQDUm0VD4UATlI6TLxSfnVC7EOC6FQsGJSAzA6iDDTxRbgIgbW9kqEzWQk7Hc+nkNHJKvc9vnyAa6D7/GMro/J9JBNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104194},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"11971afbd8f8d3f5ac2b117650408a6d6e881358","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.4_1729035489280_0.42903342254196586","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"y-excalidraw","version":"2.0.5","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.5","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"2388fb9a4aef3f87eae68b62938db8362e25da57","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.5.tgz","fileCount":10,"integrity":"sha512-MVGV414lQtS7fYEO++osjoYH+rnzfzF232+kP37rlo9NuZWZskXa/uFvj/YLtIPPc69rlCHVbyU3HOE/LzKCmw==","signatures":[{"sig":"MEYCIQDc8BAeon7nLFDLa+ZAxh6Cv4aFgfmlIiZ6M/qo9+HpoAIhAJLiCfqdXnYElAlGGnDnfW7rTjQFL8wGSxnrDJCb3m+h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104378},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"11971afbd8f8d3f5ac2b117650408a6d6e881358","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.5_1729035814996_0.7197017936521601","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"y-excalidraw","version":"2.0.6","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.6","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"fba3f1affdd54f79410645f2880b3b0b0521a498","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.6.tgz","fileCount":10,"integrity":"sha512-XTTwihT1zQ5mR6w8Wphy9NUUdJEE3i3ZncY6aXpkKXREJ1TUuhLnsbhFTW40J/p+MS3njFZ/wRfBCTwm6D7I3w==","signatures":[{"sig":"MEUCIAvR07VkJUJ7CVkhszUhRsVE8sTa5trCO/IT4ugeCoZRAiEAyeTZLGphBLo0utdVD8tLJKUi13czoSbfS7u3k36TOH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106217},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"5e1477e989d1be4cfff7cdb8e649c4b20a44694c","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.6_1729099599365_0.23871193760323695","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"y-excalidraw","version":"2.0.7","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.7","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"2fcf49654d5d90223e0b533abd412e50a148edcd","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.7.tgz","fileCount":10,"integrity":"sha512-bxuhslu6ymamyuVcP8shWnw/3y+b4pl/qnU9dvU4sNZKUDeMDEuPTEnBAxlK5CvYZCEA+mEuV5Zgwq25WMcBqQ==","signatures":[{"sig":"MEYCIQCxqUrP4iJwD86BBYfWrtJKFpztrx3Zysl1KdmmD6VMzQIhAPMHTYB6NqhSSu50GqFwUYDOnorY77KWipqZONm3LpfV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106586},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"754648d6aaf4e383e1054a73e13a52cbf493e420","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.7_1729101117841_0.20820654155326723","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"y-excalidraw","version":"2.0.8","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.8","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"7260ab12e59aa1d8a62920967cddb8705cf81c43","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.8.tgz","fileCount":10,"integrity":"sha512-1UjdOutyt/Uo+8Evsydi2ZDUgLMcENJLun2cTve2m4vYletXGoeoYfqI5kBGlcSZW/BgX3ZPVk1dtwxWvyymrw==","signatures":[{"sig":"MEQCIG/TQaf9IDbqz7oPHXSeqGQXp18HQ7Aqg/LMV3erTD01AiBqtZe9DzLU7h6usaVCh6z2rO/5z/hKtqLi1WWCMOoP4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106298},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"646f66258e1173969e9f2422d9402149bc925a68","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.8_1729101302772_0.443258597796258","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"y-excalidraw","version":"2.0.9","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.9","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"a115738b9e3b1a54fcb88c0f26a84a50bee3f761","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.9.tgz","fileCount":10,"integrity":"sha512-jduKq8SSk2RwlfX7tL7/s8dF6E7C9mil2CUWyj8y25LH0/NuXOoylFFVpX+bGFnxmxrT9fWMF+RoieHO9PqM3A==","signatures":[{"sig":"MEYCIQDzKk9GRONixipMcK3AmjGTOtVDBMiCJMysaZLhtXMxFgIhAK5UPK7HS713MDH+Z69N1ga/M3i8tBxnqJkwddxA8lX8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106566},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"1e1763a85e2c7762ecd6599afcba8456a26bd28d","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.9_1729290890193_0.3526122278180195","host":"s3://npm-registry-packages"}},"2.0.10":{"name":"y-excalidraw","version":"2.0.10","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.10","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"4f4b4416aa0efc63a51299ac361e364080257769","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.10.tgz","fileCount":10,"integrity":"sha512-PRferPlXjb/WAhD3dyjTbCMb9Z4DTKnnog/ROWlDR+Pnzvy9huPYTsTAvCaGm9VEzFtuy1Ifewd1Ev8ClCqJRA==","signatures":[{"sig":"MEUCIQDuRQznnbedR3suUstJY3IhLmRef2x7EKsT5JahJnh36QIgOS7q4nAkZi1ukOA5kIkKylzD67TDRa6fY75Ta7Y4HBo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":109848},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"1e1763a85e2c7762ecd6599afcba8456a26bd28d","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.10_1729291228598_0.10482546109732094","host":"s3://npm-registry-packages"}},"2.0.11":{"name":"y-excalidraw","version":"2.0.11","keywords":["Excalidraw","Yjs"],"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","_id":"y-excalidraw@2.0.11","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"dist":{"shasum":"5ac6e51da195058108711f7db4051257d33557ad","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.11.tgz","fileCount":10,"integrity":"sha512-w6/PL103LMj4dYLBxQ5DcJ/l7lrRPAvehx5IG12AtAPaU7kiboe/9PyQJl8/jaW5yiPBTPAY51/tSoNNsxPCXA==","signatures":[{"sig":"MEYCIQDnmbPvnCGPcVxXHHbiKGZJvheIH8KPGxpNplwbcX7WhQIhAPJ39iKQcABgb3eQ02cScFetq0kq7oopqQyClFWUl2HZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114510},"main":"./dist/y-excalidraw.cjs","type":"module","types":"./dist/src/index.d.ts","module":"./dist/y-excalidraw.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"gitHead":"12148a6f4ed98a4fd2663bc052be07a416f1b066","scripts":{"build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","demo:dev":"cd demo && vite","demo:lint":"cd demo && eslint .","demo:build":"cd demo && tsc -b && vite build","prepublish":"npm run build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:preview":"cd demo && vite preview"},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"repository":{"url":"git+https://github.com/RahulBadenkal/y-excalidraw.git","type":"git"},"_npmVersion":"10.8.2","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"fractional-indexing":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"yjs":"^13.6.19","vite":"^5.4.8","react":"^18.3.1","eslint":"^9.11.1","esbuild":"^0.24.0","globals":"^15.9.0","y-webrtc":"^10.3.0","react-dom":"^18.3.1","@eslint/js":"^9.11.1","posthog-js":"^1.167.0","typescript":"^5.5.3","y-protocols":"^1.0.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","typescript-eslint":"^8.7.0","@vitejs/plugin-react":"^4.3.2","@excalidraw/excalidraw":"^0.17.6","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12"},"peerDependencies":{"yjs":"^13.6.19","@excalidraw/excalidraw":"^0.17.6"},"_npmOperationalInternal":{"tmp":"tmp/y-excalidraw_2.0.11_1730011832383_0.8274525082494473","host":"s3://npm-registry-packages"}},"2.0.12":{"name":"y-excalidraw","version":"2.0.12","type":"module","description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/RahulBadenkal/y-excalidraw.git"},"keywords":["Excalidraw","Yjs"],"homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"main":"./dist/y-excalidraw.cjs","module":"./dist/y-excalidraw.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/y-excalidraw.js","module":"./dist/y-excalidraw.js","require":"./dist/y-excalidraw.cjs"},"./*":{"types":"./dist/src/*.d.ts","import":"./dist/src/*.js","require":"./dist/src/*.cjs"}},"license":"MIT","devDependencies":{"@eslint/js":"^9.11.1","@excalidraw/excalidraw":"^0.17.6","@types/react":"^18.3.10","@types/react-dom":"^18.3.0","@vitejs/plugin-react":"^4.3.2","esbuild":"^0.24.0","eslint":"^9.11.1","eslint-plugin-react-hooks":"^5.1.0-rc.0","eslint-plugin-react-refresh":"^0.4.12","globals":"^15.9.0","posthog-js":"^1.167.0","react":"^18.3.1","react-dom":"^18.3.1","typescript":"^5.5.3","typescript-eslint":"^8.7.0","vite":"^5.4.8","y-protocols":"^1.0.6","y-webrtc":"^10.3.0","yjs":"^13.6.19"},"peerDependencies":{"@excalidraw/excalidraw":"^0.17.6","yjs":"^13.6.19"},"dependencies":{"fractional-indexing":"^3.2.0"},"scripts":{"demo:dev":"cd demo && vite","demo:build":"cd demo && tsc -b && vite build","demo:server":"PORT=3000 node node_modules/y-webrtc/bin/server.js","demo:lint":"cd demo && eslint .","demo:preview":"cd demo && vite preview","build":"rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist","prepublish":"npm run build","publish":"npm run prepublish && npm publish"},"_id":"y-excalidraw@2.0.12","gitHead":"21ff918dcc7eab749d0bed6f270ee0b851d996df","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-/dp0MUSD7WC4TFXsv9DyXxeg+CQoSM4iwh9UpLx8+VFwAg47F3O9KW62C/Jkuq7Rt3y9MAmKC2rE8beZOHCGaw==","shasum":"d2c308e850ccead9d2d237ba5570f264aeda2bbf","tarball":"https://registry.npmjs.org/y-excalidraw/-/y-excalidraw-2.0.12.tgz","fileCount":10,"unpackedSize":117002,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdoWprrozOPM9e9FnZU3y/xIeIsJLpdhZMAsy07eW9QwIhAKSLYCsohEk82gVz5PjKQtTmQjxAJfkaJeqYMWks7xQh"}]},"_npmUser":{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"},"directories":{},"maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/y-excalidraw_2.0.12_1733803029893_0.7410380450859277"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-13T14:08:20.916Z","modified":"2024-12-10T03:57:10.265Z","1.0.0":"2024-10-13T14:08:21.104Z","2.0.0":"2024-10-15T12:11:32.374Z","2.0.1":"2024-10-15T12:13:20.679Z","2.0.2":"2024-10-15T15:41:14.053Z","2.0.3":"2024-10-15T15:47:08.061Z","2.0.4":"2024-10-15T23:38:09.532Z","2.0.5":"2024-10-15T23:43:35.166Z","2.0.6":"2024-10-16T17:26:39.601Z","2.0.7":"2024-10-16T17:51:58.059Z","2.0.8":"2024-10-16T17:55:02.969Z","2.0.9":"2024-10-18T22:34:50.376Z","2.0.10":"2024-10-18T22:40:28.813Z","2.0.11":"2024-10-27T06:50:32.563Z","2.0.12":"2024-12-10T03:57:10.105Z"},"bugs":{"url":"https://github.com/RahulBadenkal/y-excalidraw/issues"},"author":{"name":"Rahul Badenkal","email":"rahulbadenkal@gmail.com"},"license":"MIT","homepage":"https://github.com/RahulBadenkal/y-excalidraw#readme","keywords":["Excalidraw","Yjs"],"repository":{"type":"git","url":"git+https://github.com/RahulBadenkal/y-excalidraw.git"},"description":"This binding binds a Y.Array to a Exacalidraw whiteboard.","maintainers":[{"name":"rahulbadenkal1","email":"rahulbadenkal@gmail.com"}],"readme":"# y-excalidraw\n\n> Excalidraw whiteboard binding for Yjs - [Demo](https://y-excalidraw.rahulbadenkal.com/)\n\nThis binding binds a Y.Array to a Excalidraw whiteboard.\n\n```\nnpm install y-excalidraw\n```\n\n## Features\n- Sync Excalidraw whiteboard elements\n- Awareness: Sync remote cursor and selections\n- Assets/Files syncing\n- Shared Undo / Redo (each client has its own undo-/redo-history) - as a separate plugin\n\n## Todo\n- Add tests\n- Check the feasibility of making every element key collaborative\n- Add benchmarks\n\n## Note\nThe sync is at the excalidraw array item (element) level but not at the element key level. Even the excalidraw cloud offering doesn't support that ([Link](https://blog.excalidraw.com/building-excalidraw-p2p-collaboration-feature/)). It would not be very hard to add it here but there are 2 issues that might crop up\n- If operation 1 on client 1 changes 2 keys (keyA: ValueA, keyB: ValueB) on an array element. Then say operation 2 on client 2 changes 1 key (keyA: ValueZ) on the same array element. If the sync was at the key level then the final array item will be - (keyA: ValueZ, keyB: ValueB) and I am not sure if this final state is always valid. Are all keys of an excalidraw array element independent of each other? \n- Since on any change on the canvas, excalidraw onChange callback fires with the complete new state of the canvas but no diffs. So to make the app reactive at key level we would need to do a deep diff to figure out what key excatly changed. I am not sure how much extra runtime overhead this will introduce, will need to benchmark\n\n## Helpful resources\n- Excalidraw team's blog on how they achieved p2p sharing with excalidraw -> [Link](https://blog.excalidraw.com/building-excalidraw-p2p-collaboration-feature/)\n- How to move items in an array in a safe manner, yjs discussion -> [Link](https://discuss.yjs.dev/t/moving-elements-in-lists/92/15?u=rahulbadenkal)\n- Another intgeration of yjs with excalidraw. Most of the setup code is inspired from there -> [Link](https://github.com/satoren/y-phoenix-channel)\n- Code for the demo was taken from yjs-codemirror.next repo -> [Link](https://github.com/yjs/y-codemirror.next)\n\n## Getting Started\nInstall y-excalidraw (Make sure excalidraw and yjs are already installed)\n```\nnpm install y-excalidraw\n```\n\n## Example\n```typescript\nimport * as React from \"react\";\n\nimport { Excalidraw } from \"@excalidraw/excalidraw\";\nimport * as Y from \"yjs\";\n\nimport type { ExcalidrawImperativeAPI } from \"@excalidraw/excalidraw/types/types\";\nimport { ExcalidrawBinding } from \"y-excalidraw\"\n\nimport { WebrtcProvider } from 'y-webrtc'\n\nimport * as random from 'lib0/random'\n\nexport const usercolors = [\n  { color: '#30bced', light: '#30bced33' },\n  { color: '#6eeb83', light: '#6eeb8333' },\n  { color: '#ffbc42', light: '#ffbc4233' },\n  { color: '#ecd444', light: '#ecd44433' },\n  { color: '#ee6352', light: '#ee635233' },\n  { color: '#9ac2c9', light: '#9ac2c933' },\n  { color: '#8acb88', light: '#8acb8833' },\n  { color: '#1be7ff', light: '#1be7ff33' }\n]\n\nexport const userColor = usercolors[random.uint32() % usercolors.length]\n\nconst ydoc = new Y.Doc()\nconst yElements = ydoc.getArray<Y.Map<any>>('elements');  // structure = {el: NonDeletedExcalidrawElement, pos: string}\nconst yAssets = ydoc.getMap('assets');\n\nconst provider = new WebrtcProvider('y-excalidraw-demo-room', ydoc)\n\nprovider.awareness.setLocalStateField('user', {\n  name: 'Anonymous ' + Math.floor(Math.random() * 100),\n  color: userColor.color,\n  colorLight: userColor.light\n})\n\nexport default function App() {\n  const [api, setApi] = React.useState<ExcalidrawImperativeAPI | null>(null);\n  const [binding, setBindings] = React.useState<ExcalidrawBinding | null>(null);\n  const excalidrawRef = React.useRef(null);\n\n  React.useEffect(() => {\n    if (!api) return;\n\n    const binding = new ExcalidrawBinding(\n      yElements,\n      yAssets,\n      api,\n      provider.awareness,\n      // excalidraw dom is needed to override the undo/redo buttons in the UI as there is no way to override it via props in excalidraw\n      // You might need to pass {trackedOrigins: new Set()} to undomanager depending on whether your provider sets an origin or not\n      {excalidrawDom: excalidrawRef.current, undoManager: new Y.UndoManager(yElements)},\n   );\n    setBindings(binding);\n    return () => {\n      setBindings(null);\n      binding.destroy();\n    };\n  }, [api]);\n\n  const initData = {\n    elements: yjsToExcalidraw(yElements)\n  }\n\n  return (\n    <div style={{width: \"100vw\", height: \"100vh\"}} ref={excalidrawRef}>\n      <Excalidraw\n        initialData={initData}  // Need to set the initial data\n        excalidrawAPI={setApi}\n        onPointerUpdate={binding?.onPointerUpdate}\n        theme=\"light\"\n      />\n    </div>\n  );\n}\n```\n\nIf you want to get the excalidraw array, you can use the utility function\n```typescript\nimport { yjsToExcalidraw } from \"y-excalidraw\"\n\nconsole.log(\"Excalidraw json\", yjsToExcalidraw(yElements))\n```","readmeFilename":"README.md"}