{"_id":"@blocksandarrows/excalidraw","_rev":"3-2355158fddb5f0dbedd3af1b42b2f897","name":"@blocksandarrows/excalidraw","dist-tags":{"latest":"0.18.2"},"versions":{"0.18.0":{"name":"@blocksandarrows/excalidraw","version":"0.18.0","keywords":["excalidraw","excalidraw-embed","react","npm","npm excalidraw"],"license":"MIT","_id":"@blocksandarrows/excalidraw@0.18.0","maintainers":[{"name":"c1deepinside","email":"vanya0759@gmail.com"}],"homepage":"https://github.com/excalidraw/excalidraw/tree/master/packages/excalidraw","bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"dist":{"shasum":"b541942e936ab0e1f529a8c7ce71609ba437794f","tarball":"https://registry.npmjs.org/@blocksandarrows/excalidraw/-/excalidraw-0.18.0.tgz","fileCount":1055,"integrity":"sha512-eEtK2QW9YN4KuKsWLNrsXcoe6lS6EYgSWqu1d3SgxFn8nJpEMhqBw4Dpdk+Ll6scp6unxkGxv/kjA38IEVxXNA==","signatures":[{"sig":"MEUCIQC+Q3qlvJNwXt9jSV2lBHgmUkWMxEIRTWH69ZxSjA8lPwIgb7WUEpaGoAIguuqJ5jdOZnaI1gal6S+FgCi5/McBNJE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48876834},"main":"./dist/prod/index.js","type":"module","types":"./dist/types/excalidraw/index.d.ts","module":"./dist/prod/index.js","exports":{".":{"types":"./dist/types/excalidraw/index.d.ts","default":"./dist/prod/index.js"},"./*":{"types":"./dist/types/excalidraw/*.d.ts"},"./math/*":{"types":"./dist/types/math/src/*.d.ts"},"./utils/*":{"types":"./dist/types/utils/src/*.d.ts"},"./common/*":{"types":"./dist/types/common/src/*.d.ts"},"./element/*":{"types":"./dist/types/element/src/*.d.ts"},"./index.css":"./dist/prod/index.css","./types/types":{"types":"./dist/types/excalidraw/types.d.ts"},"./types/element/types":{"types":"./dist/types/element/src/types.d.ts"},"./types/data/transform":{"types":"./dist/types/excalidraw/data/transform.d.ts"}},"scripts":{"build:esm":"rimraf dist && node ../../scripts/buildPackage.js && yarn gen:types","gen:types":"rimraf types && tsc"},"_npmUser":{"name":"c1deepinside","email":"vanya0759@gmail.com"},"repository":{"url":"git+https://github.com/excalidraw/excalidraw.git","type":"git"},"_npmVersion":"10.8.3","description":"Excalidraw as a React component","directories":{},"_nodeVersion":"20.12.2","browserslist":{"production":[">0.2%","not dead","not ie <= 11","not op_mini all","not safari < 12","not kaios <= 2.5","not edge < 79","not chrome < 70","not and_uc < 13","not samsung < 10"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"dependencies":{"clsx":"1.1.1","pako":"2.0.3","pica":"7.1.1","sass":"1.51.0","fuzzy":"0.1.3","jotai":"2.11.0","nanoid":"3.3.3","roughjs":"4.6.4","cross-env":"7.0.3","pwacompat":"2.0.17","open-color":"1.9.1","tunnel-rat":"0.1.2","jotai-scope":"0.7.2","png-chunk-text":"1.0.0","lodash.debounce":"4.0.8","lodash.throttle":"4.1.1","points-on-curve":"1.0.1","@excalidraw/math":"file:../math","es6-promise-pool":"2.5.0","perfect-freehand":"1.2.0","browser-fs-access":"0.29.1","image-blob-reduce":"3.0.1","png-chunks-encode":"1.0.0","@excalidraw/common":"file:../common","png-chunks-extract":"1.0.0","@excalidraw/element":"file:../element","fractional-indexing":"3.2.0","@radix-ui/react-tabs":"1.1.3","@braintree/sanitize-url":"6.0.2","@radix-ui/react-popover":"1.1.6","@excalidraw/laser-pointer":"1.3.1","canvas-roundrect-polyfill":"0.0.1","@excalidraw/random-username":"1.1.0","@excalidraw/mermaid-to-excalidraw":"1.1.3"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/types/excalidraw/*"],"types/types":["./dist/types/excalidraw/types.d.ts"],"types/element/types":["./dist/types/element/src/types.d.ts"],"types/data/transform":["./dist/types/excalidraw/data/transform.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.19.10","ansicolor":"2.0.3","cross-env":"7.0.3","jest-diff":"29.7.0","harfbuzzjs":"0.3.6","typescript":"5.9.3","@types/pako":"2.0.3","@types/pica":"5.1.3","autoprefixer":"10.4.7","fake-indexeddb":"3.1.7","fonteditor-core":"2.4.1","esbuild-sass-plugin":"2.16.0","eslint-plugin-react":"7.32.2","@testing-library/dom":"10.4.0","@testing-library/react":"16.2.0","@types/lodash.debounce":"4.0.8","@testing-library/jest-dom":"6.6.3","@size-limit/preset-big-lib":"9.0.0","@types/resize-observer-browser":"0.1.7"},"peerDependencies":{"react":"^17.0.2 || ^18.2.0 || ^19.0.0","react-dom":"^17.0.2 || ^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excalidraw_0.18.0_1765812693532_0.8643988465257997","host":"s3://npm-registry-packages-npm-production"}},"0.18.1":{"name":"@blocksandarrows/excalidraw","version":"0.18.1","keywords":["excalidraw","excalidraw-embed","react","npm","npm excalidraw"],"license":"MIT","_id":"@blocksandarrows/excalidraw@0.18.1","maintainers":[{"name":"c1deepinside","email":"vanya0759@gmail.com"}],"homepage":"https://github.com/excalidraw/excalidraw/tree/master/packages/excalidraw","bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"dist":{"shasum":"9e3e25b583bf6b339c873a2ec0de9e0a52ea7571","tarball":"https://registry.npmjs.org/@blocksandarrows/excalidraw/-/excalidraw-0.18.1.tgz","fileCount":1055,"integrity":"sha512-7zpJ+CmPtQptNNbKFAiTkmTG/HPuo4cEeCauCSoSoEbKRn6/FiQhTFGTYuByFrBW0Nc9sZvkdaCohYRBo8nfKA==","signatures":[{"sig":"MEUCIH8mwTgRjxUMT1HZPzT2sXeQQjTCFvd6qUu1wEkZPxdvAiEAvxLzNvWJ4ARdZspTYEzk88tm4mQFNGfLDedsiFbe/Xk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48876661},"main":"./dist/prod/index.js","type":"module","types":"./dist/types/excalidraw/index.d.ts","module":"./dist/prod/index.js","exports":{".":{"types":"./dist/types/excalidraw/index.d.ts","default":"./dist/prod/index.js"},"./*":{"types":"./dist/types/excalidraw/*.d.ts"},"./math/*":{"types":"./dist/types/math/src/*.d.ts"},"./utils/*":{"types":"./dist/types/utils/src/*.d.ts"},"./common/*":{"types":"./dist/types/common/src/*.d.ts"},"./element/*":{"types":"./dist/types/element/src/*.d.ts"},"./index.css":"./dist/prod/index.css","./types/types":{"types":"./dist/types/excalidraw/types.d.ts"},"./types/element/types":{"types":"./dist/types/element/src/types.d.ts"},"./types/data/transform":{"types":"./dist/types/excalidraw/data/transform.d.ts"}},"scripts":{"build:esm":"rimraf dist && node ../../scripts/buildPackage.js && yarn gen:types","gen:types":"rimraf types && tsc"},"_npmUser":{"name":"c1deepinside","email":"vanya0759@gmail.com"},"repository":{"url":"git+https://github.com/excalidraw/excalidraw.git","type":"git"},"_npmVersion":"10.8.3","description":"Excalidraw as a React component","directories":{},"_nodeVersion":"20.12.2","browserslist":{"production":[">0.2%","not dead","not ie <= 11","not op_mini all","not safari < 12","not kaios <= 2.5","not edge < 79","not chrome < 70","not and_uc < 13","not samsung < 10"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"dependencies":{"clsx":"1.1.1","pako":"2.0.3","pica":"7.1.1","sass":"1.51.0","fuzzy":"0.1.3","jotai":"2.11.0","nanoid":"3.3.3","roughjs":"4.6.4","cross-env":"7.0.3","pwacompat":"2.0.17","open-color":"1.9.1","tunnel-rat":"0.1.2","jotai-scope":"0.7.2","png-chunk-text":"1.0.0","lodash.debounce":"4.0.8","lodash.throttle":"4.1.1","points-on-curve":"1.0.1","es6-promise-pool":"2.5.0","perfect-freehand":"1.2.0","browser-fs-access":"0.29.1","image-blob-reduce":"3.0.1","png-chunks-encode":"1.0.0","png-chunks-extract":"1.0.0","fractional-indexing":"3.2.0","@radix-ui/react-tabs":"1.1.3","@blocksandarrows/math":"0.18.1","@blocksandarrows/common":"0.18.1","@braintree/sanitize-url":"6.0.2","@radix-ui/react-popover":"1.1.6","@blocksandarrows/element":"0.18.1","@excalidraw/laser-pointer":"1.3.1","canvas-roundrect-polyfill":"0.0.1","@excalidraw/random-username":"1.1.0","@excalidraw/mermaid-to-excalidraw":"1.1.3"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/types/excalidraw/*"],"types/types":["./dist/types/excalidraw/types.d.ts"],"types/element/types":["./dist/types/element/src/types.d.ts"],"types/data/transform":["./dist/types/excalidraw/data/transform.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.0.1","esbuild":"0.19.10","ansicolor":"2.0.3","cross-env":"7.0.3","jest-diff":"29.7.0","harfbuzzjs":"0.3.6","typescript":"5.9.3","@types/pako":"2.0.3","@types/pica":"5.1.3","autoprefixer":"10.4.7","fake-indexeddb":"3.1.7","fonteditor-core":"2.4.1","esbuild-sass-plugin":"2.16.0","eslint-plugin-react":"7.32.2","@testing-library/dom":"10.4.0","@testing-library/react":"16.2.0","@types/lodash.debounce":"4.0.8","@testing-library/jest-dom":"6.6.3","@size-limit/preset-big-lib":"9.0.0","@types/resize-observer-browser":"0.1.7"},"peerDependencies":{"react":"^17.0.2 || ^18.2.0 || ^19.0.0","react-dom":"^17.0.2 || ^18.2.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excalidraw_0.18.1_1765817226148_0.6371990607523452","host":"s3://npm-registry-packages-npm-production"}},"0.18.2":{"name":"@blocksandarrows/excalidraw","version":"0.18.2","type":"module","types":"./dist/types/excalidraw/index.d.ts","main":"./dist/prod/index.js","module":"./dist/prod/index.js","typesVersions":{"*":{"types/element/types":["./dist/types/element/src/types.d.ts"],"types/types":["./dist/types/excalidraw/types.d.ts"],"types/data/transform":["./dist/types/excalidraw/data/transform.d.ts"],"*":["./dist/types/excalidraw/*"]}},"exports":{"./types/element/types":{"types":"./dist/types/element/src/types.d.ts"},"./types/types":{"types":"./dist/types/excalidraw/types.d.ts"},"./types/data/transform":{"types":"./dist/types/excalidraw/data/transform.d.ts"},"./common/*":{"types":"./dist/types/common/src/*.d.ts"},"./element/*":{"types":"./dist/types/element/src/*.d.ts"},"./math/*":{"types":"./dist/types/math/src/*.d.ts"},"./utils/*":{"types":"./dist/types/utils/src/*.d.ts"},"./*":{"types":"./dist/types/excalidraw/*.d.ts"},"./index.css":"./dist/prod/index.css",".":{"types":"./dist/types/excalidraw/index.d.ts","default":"./dist/prod/index.js"}},"publishConfig":{"access":"public"},"description":"Excalidraw as a React component","license":"MIT","keywords":["excalidraw","excalidraw-embed","react","npm","npm excalidraw"],"browserslist":{"production":[">0.2%","not dead","not ie <= 11","not op_mini all","not safari < 12","not kaios <= 2.5","not edge < 79","not chrome < 70","not and_uc < 13","not samsung < 10"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"repository":{"type":"git","url":"git+https://github.com/excalidraw/excalidraw.git"},"bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"homepage":"https://github.com/excalidraw/excalidraw/tree/master/packages/excalidraw","scripts":{"gen:types":"rimraf types && tsc","build:esm":"rimraf dist && node ../../scripts/buildPackage.js && yarn gen:types"},"peerDependencies":{"react":"^17.0.2 || ^18.2.0 || ^19.0.0","react-dom":"^17.0.2 || ^18.2.0 || ^19.0.0"},"dependencies":{"@braintree/sanitize-url":"6.0.2","@excalidraw/laser-pointer":"1.3.1","@excalidraw/mermaid-to-excalidraw":"1.1.3","@excalidraw/random-username":"1.1.0","@radix-ui/react-popover":"1.1.6","@radix-ui/react-tabs":"1.1.3","browser-fs-access":"0.29.1","canvas-roundrect-polyfill":"0.0.1","clsx":"1.1.1","cross-env":"7.0.3","es6-promise-pool":"2.5.0","fractional-indexing":"3.2.0","fuzzy":"0.1.3","image-blob-reduce":"3.0.1","jotai":"2.11.0","jotai-scope":"0.7.2","lodash.debounce":"4.0.8","lodash.throttle":"4.1.1","nanoid":"3.3.3","open-color":"1.9.1","pako":"2.0.3","perfect-freehand":"1.2.0","pica":"7.1.1","png-chunk-text":"1.0.0","png-chunks-encode":"1.0.0","png-chunks-extract":"1.0.0","points-on-curve":"1.0.1","pwacompat":"2.0.17","roughjs":"4.6.4","sass":"1.51.0","tunnel-rat":"0.1.2","@blocksandarrows/common":"0.18.0","@blocksandarrows/element":"0.18.0","@blocksandarrows/math":"0.18.0"},"devDependencies":{"@size-limit/preset-big-lib":"9.0.0","@testing-library/dom":"10.4.0","@testing-library/jest-dom":"6.6.3","@testing-library/react":"16.2.0","@types/lodash.debounce":"4.0.8","@types/pako":"2.0.3","@types/pica":"5.1.3","@types/resize-observer-browser":"0.1.7","ansicolor":"2.0.3","autoprefixer":"10.4.7","cross-env":"7.0.3","dotenv":"16.0.1","esbuild":"0.19.10","esbuild-sass-plugin":"2.16.0","eslint-plugin-react":"7.32.2","fake-indexeddb":"3.1.7","fonteditor-core":"2.4.1","harfbuzzjs":"0.3.6","jest-diff":"29.7.0","typescript":"5.9.3"},"gitHead":"096421c95cc836abb315bc5777eefa44c09ab8f0","_id":"@blocksandarrows/excalidraw@0.18.2","_nodeVersion":"25.2.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-1NrSw/RqDBDkcymYC0NbB61VEQFE/JtmMVjb040N3d53ubmQDC2FlWBTKvyy5xFDZq3cBzXI/fkBc6V/+JiY9w==","shasum":"a139a56dd2bfe9abafac1e7b44420fc463714d0c","tarball":"https://registry.npmjs.org/@blocksandarrows/excalidraw/-/excalidraw-0.18.2.tgz","fileCount":1055,"unpackedSize":48876896,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID7ReXgwtw3ai/23cU7h/Y4NXLvi1jJH6bfHyS8rq7eHAiBhoQ+eB/MVu3OhVlzQp2ZTYt4l5QzpyoEAXHHsM8xwIw=="}]},"_npmUser":{"name":"c1deepinside","email":"vanya0759@gmail.com"},"directories":{},"maintainers":[{"name":"c1deepinside","email":"vanya0759@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/excalidraw_0.18.2_1770920727509_0.948428241066684"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-15T15:31:33.425Z","modified":"2026-02-12T18:25:28.633Z","0.18.0":"2025-12-15T15:31:34.448Z","0.18.1":"2025-12-15T16:47:07.202Z","0.18.2":"2026-02-12T18:25:28.516Z"},"bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"license":"MIT","homepage":"https://github.com/excalidraw/excalidraw/tree/master/packages/excalidraw","keywords":["excalidraw","excalidraw-embed","react","npm","npm excalidraw"],"repository":{"type":"git","url":"git+https://github.com/excalidraw/excalidraw.git"},"description":"Excalidraw as a React component","maintainers":[{"name":"c1deepinside","email":"vanya0759@gmail.com"}],"readme":"# Excalidraw\n\n**Excalidraw** is exported as a component to be directly embedded in your project.\n\n## Installation\n\nUse `npm` or `yarn` to install the package.\n\n```bash\nnpm install react react-dom @excalidraw/excalidraw\n# or\nyarn add react react-dom @excalidraw/excalidraw\n```\n\n> **Note**: If you don't want to wait for the next stable release and try out the unreleased changes, use `@excalidraw/excalidraw@next`.\n\n#### Self-hosting fonts\n\nBy default, Excalidraw will try to download all the used fonts from the [CDN](https://esm.run/@excalidraw/excalidraw/dist/prod).\n\nFor self-hosting purposes, you'll have to copy the content of the folder `node_modules/@excalidraw/excalidraw/dist/prod/fonts` to the path where your assets should be served from (i.e. `public/` directory in your project). In that case, you should also set `window.EXCALIDRAW_ASSET_PATH` to the very same path, i.e. `/` in case it's in the root:\n\n```js\n<script>window.EXCALIDRAW_ASSET_PATH = \"/\";</script>\n```\n\n### Dimensions of Excalidraw\n\nExcalidraw takes _100%_ of `width` and `height` of the containing block so make sure the container in which you render Excalidraw has non zero dimensions.\n\n## Demo\n\nGo to [CodeSandbox](https://codesandbox.io/p/sandbox/github/excalidraw/excalidraw/tree/master/examples/with-script-in-browser) example.\n\n## Integration\n\nHead over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/integration).\n\n## API\n\nHead over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api).\n\n## Contributing\n\nHead over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/contributing).\n","readmeFilename":"README.md"}