Dependencies
The tldraw SDK itself is published under the tldraw license. It also depends on the third-party packages listed below, each under its own license.
This covers the runtime dependencies that the @tldraw/* packages declare directly. It does not include their own transitive dependencies, our development and build tooling, or anything in the tldraw.com application. If you need a full transitive list for the exact versions you have installed, generate one from your own lockfile.
Dependencies
| Dependency | Version | License | Used by |
|---|---|---|---|
| @tiptap/core | 3.13.0 | MIT | commenting, editor, mentions, tldraw |
| @tiptap/extension-code | 3.13.0 | MIT | tldraw |
| @tiptap/extension-highlight | 3.13.0 | MIT | tldraw |
| @tiptap/extension-list | 3.13.0 | MIT | tldraw |
| @tiptap/extension-mention | 3.13.0 | MIT | mentions |
| @tiptap/extension-typography | 3.13.0 | MIT | tldraw |
| @tiptap/pm | 3.13.0 | MIT | commenting, editor, mentions, tldraw |
| @tiptap/react | 3.13.0 | MIT | commenting, editor, mentions, tldraw |
| @tiptap/starter-kit | 3.13.0 | MIT | tldraw |
| @tiptap/suggestion | 3.13.0 | MIT | mentions |
| classnames | 2.5.1 | MIT | editor, tldraw |
| eventemitter3 | 4.0.7 | MIT | editor |
| idb | 7.1.1 | ISC | editor, tldraw |
| is-plain-object | 5.0.0 | MIT | editor |
| lodash.isequal | 4.5.0 | MIT | utils |
| lodash.isequalwith | 4.4.0 | MIT | utils |
| lodash.throttle | 4.1.1 | MIT | utils |
| lodash.uniq | 4.5.0 | MIT | utils |
| lz-string | 1.5.0 | MIT | tldraw |
| mermaid | 11.16.1 | MIT | mermaid |
| nanoevents | 7.0.1 | MIT | sync, sync-core |
| radix-ui | 1.4.2 | MIT | tldraw |
| rbush | 3.0.1 | MIT | editor |
| ws | 8.21.0 | MIT | sync, sync-core |
Inline code
Some third-party code is included directly in our source rather than as a dependency. Each of these files carries its license in a comment at the top.
| File | License | Copyright |
|---|---|---|
packages/create-tldraw/src/group-select.ts | MIT | Nate Moore |
packages/create-tldraw/src/wrap-ansi.ts | MIT | Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com) |
packages/editor/src/lib/hooks/useScreenBounds.ts | MIT | |
packages/editor/src/lib/hooks/useViewportHeight.ts | BSD | 2020 General Outline, Inc (https://www.getoutline.com/) and individual contributors. |
packages/editor/src/lib/utils/browserCanvasMaxSize.ts | MIT | John Hildenbiddle |
packages/store/src/lib/ImmutableMap.ts | MIT | 2014-present, Lee Byron and other contributors. |
packages/tldraw/src/lib/shapes/shared/PathBuilder.tsx | Apache | |
packages/tldraw/src/lib/ui/hooks/useKeyboardShortcuts.ts | MIT | 2015-present, Kenny Wong |
packages/tldraw/src/lib/ui/kbd-utils.ts | MIT | 2015-present, Kenny Wong |
packages/tldraw/src/lib/utils/svg/sanitizeSvg.ts | MIT | 2015 Mario Heiderich |
packages/utils/src/lib/bind.ts | MIT | 2016 Ivo Stratev |
packages/utils/src/lib/id.ts | MIT | 2017 Andrey Sitnik <andrey@sitnik.ru> |
packages/utils/src/lib/media/apng.ts | MIT | Philip van Heemstra |
packages/utils/src/lib/media/gif.ts | MIT | 2016 Józef Sokołowski <j.k.sokolowski@gmail.com> |
packages/utils/src/lib/media/png.ts | MIT | 2014 Alex Gorbatchev |
packages/utils/src/lib/media/webp.ts | MIT | Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com) |
Prev
License