{"_rev":"3-89fb1173d168fdeddf860cd1d53bb756","time":{"created":"2024-04-10T20:01:35.055Z","0.17.1":"2024-04-10T19:03:40.929Z","modified":"2024-04-10T20:01:35.648Z","0.18.1":"2024-04-10T20:01:35.379Z"},"_id":"@edwardw483/excalidraw","name":"@edwardw483/excalidraw","dist-tags":{"latest":"0.18.1"},"versions":{"0.18.1":{"name":"@edwardw483/excalidraw","version":"0.18.1","main":"./dist/prod/index.js","type":"module","module":"./dist/prod/index.js","exports":{".":{"development":"./dist/dev/index.js","types":"./dist/excalidraw/index.d.ts","default":"./dist/prod/index.js"},"./index.css":{"development":"./dist/dev/index.css","default":"./dist/prod/index.css"}},"types":"./dist/excalidraw/index.d.ts","publishConfig":{"access":"public"},"description":"Excalidraw as a React component","repository":{"type":"git","url":"git+https://github.com/excalidraw/excalidraw.git"},"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"]},"peerDependencies":{"react":"^17.0.2 || ^18.2.0","react-dom":"^17.0.2 || ^18.2.0"},"dependencies":{"@braintree/sanitize-url":"6.0.2","@excalidraw/laser-pointer":"1.3.1","@excalidraw/mermaid-to-excalidraw":"0.3.0","@excalidraw/random-username":"1.1.0","@radix-ui/react-popover":"1.0.3","@radix-ui/react-tabs":"1.0.2","@tldraw/vec":"1.7.1","browser-fs-access":"0.29.1","canvas-roundrect-polyfill":"0.0.1","clsx":"1.1.1","cross-env":"7.0.3","fractional-indexing":"3.2.0","fuzzy":"0.1.3","image-blob-reduce":"3.0.1","jotai":"1.13.1","lodash.throttle":"4.1.1","nanoid":"3.3.3","open-color":"1.9.1","pako":"1.0.11","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"},"devDependencies":{"@babel/core":"7.18.9","@babel/plugin-transform-arrow-functions":"7.18.6","@babel/plugin-transform-async-to-generator":"7.18.6","@babel/plugin-transform-runtime":"7.18.9","@babel/plugin-transform-typescript":"7.18.8","@babel/preset-env":"7.18.6","@babel/preset-react":"7.18.6","@babel/preset-typescript":"7.18.6","@size-limit/preset-big-lib":"9.0.0","@testing-library/jest-dom":"5.16.2","@testing-library/react":"12.1.5","@types/pako":"1.0.3","@types/pica":"5.1.3","@types/resize-observer-browser":"0.1.7","autoprefixer":"10.4.7","babel-loader":"8.2.5","babel-plugin-transform-class-properties":"6.24.1","cross-env":"7.0.3","css-loader":"6.7.1","dotenv":"16.0.1","esbuild":"0.19.10","esbuild-plugin-external-global":"1.0.1","esbuild-sass-plugin":"2.16.0","eslint-plugin-react":"7.32.2","fake-indexeddb":"3.1.7","import-meta-loader":"1.1.0","mini-css-extract-plugin":"2.6.1","postcss-loader":"7.0.1","react":"18.2.0","react-dom":"18.2.0","sass-loader":"13.0.2","size-limit":"9.0.0","style-loader":"3.3.3","ts-loader":"9.3.1","typescript":"4.9.4"},"bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"homepage":"https://github.com/excalidraw/excalidraw/tree/master/packages/excalidraw","scripts":{"gen:types":"rm -rf types && tsc","build:esm":"rm -rf dist && node ../../scripts/buildPackage.js && yarn gen:types","pack":"yarn build:umd && yarn pack","start":"node ../../scripts/buildExample.mjs && vite","build:example":"node ../../scripts/buildExample.mjs","size":"yarn build:umd && size-limit"},"_id":"@edwardw483/excalidraw@0.18.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-aVDvqTPnGsoKyGFlqwyrWu4TlRHlI43aQKklPks9xZhOMu+vHCK/SekCcuFMW3+Y+G+R3sVP47j1UF5Up/b5bw==","shasum":"7377b920df057b479584656e3e277d6307fbbd67","tarball":"https://registry.npmjs.org/@edwardw483/excalidraw/-/excalidraw-0.18.1.tgz","fileCount":2,"unpackedSize":5686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5XhL8Byk/DTAlu+T8x/q17eJSw8Dm+xg64yttGatR5AiEAvD/sjGQpPKM9z06qbHV7up/lWl45uYKXbAdRBxxuaMc="}]},"_npmUser":{"name":"edwardw483","email":"edwardw483@gmail.com"},"directories":{},"maintainers":[{"name":"edwardw483","email":"edwardw483@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/excalidraw_0.18.1_1712779295221_0.8535640084933906"},"_hasShrinkwrap":false}},"maintainers":[{"name":"edwardw483","email":"edwardw483@gmail.com"}],"description":"Excalidraw as a React component","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"},"bugs":{"url":"https://github.com/excalidraw/excalidraw/issues"},"license":"MIT","readme":"# Excalidraw\n\n**Excalidraw** is exported as a component to directly embed in your projects.\n\n## Installation\n\nYou can use `npm`\n\n```bash\nnpm install react react-dom @excalidraw/excalidraw\n```\n\nor via `yarn`\n\n```bash\nyarn add react react-dom @excalidraw/excalidraw\n```\n\nAfter installation you will see a folder `excalidraw-assets` and `excalidraw-assets-dev` in `dist` directory which contains the assets needed for this app in prod and dev mode respectively.\n\nMove the folder `excalidraw-assets` and `excalidraw-assets-dev` to the path where your assets are served.\n\nBy default it will try to load the files from [`https://unpkg.com/@excalidraw/excalidraw/dist/`](https://unpkg.com/@excalidraw/excalidraw/dist)\n\nIf you want to load assets from a different path you can set a variable `window.EXCALIDRAW_ASSET_PATH` depending on environment (for example if you have different URL's for dev and prod) to the url from where you want to load the assets.\n\n#### Note\n\n**If you don't want to wait for the next stable release and try out the unreleased changes you can use `@excalidraw/excalidraw@next`.**\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\n[Try here](https://codesandbox.io/s/excalidraw-ehlz3).\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"}