# @tldraw/utils

> tldraw infinite canvas SDK (private utilities).

Latest version **5.4.2** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tldraw/utils
pnpm add @tldraw/utils
yarn add @tldraw/utils
bun add @tldraw/utils
```

## Health

**Score 75/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 5.4.2 |
| Published | 2026-09-10 |
| First published | 2023-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 4 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 50332 |
| Author | tldraw Inc. |
| Maintainers | tldraw-personal, steveruizok, mimetldraw, mitjatldraw, siobhantldraw |
| Keywords | tldraw, sdk, drawing, app, development, whiteboard, canvas, infinite |

## Links

- npm: https://www.npmjs.com/package/@tldraw/utils
- Repository: https://github.com/tldraw/tldraw
- Homepage: https://tldraw.dev
- Issues: https://github.com/tldraw/tldraw/issues
- npm.io page: https://npm.io/package/@tldraw/utils

## Dependencies (4)

- [lodash.uniq](https://npm.io/package/lodash.uniq.md) ^4.5.0
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.5.0
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [lodash.isequalwith](https://npm.io/package/lodash.isequalwith.md) ^4.4.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 5.4.2 (latest) — 2026-09-10
- 5.5.0-canary.05ba06d341d4 (canary) — 2026-09-18
- 5.5.0-next.b6a9f7cd7be2 (next) — 2026-09-16
- 5.3.0-internal.1640468db8fd (internal) — 2026-07-23
- 4.5.12 (revision) — 2026-05-13
- 2.0.0-canary.3b92faa5cf0a (beta) — 2024-02-29
- 2.0.0-alpha.19 (alpha) — 2023-12-12
- 5.5.0-canary.59cf49e0e711 — 2026-09-17
- 5.5.0-canary.2c9900d7e395 — 2026-09-16
- 5.5.0-canary.9315ab45e518 — 2026-09-16
- 5.5.0-canary.3b72bdfdfda2 — 2026-09-16
- 5.5.0-canary.bff0301ca1f4 — 2026-09-16
- 5.5.0-canary.4e8434557adc — 2026-09-16
- 5.5.0-canary.5176de035caa — 2026-09-16
- 5.5.0-canary.382e4133bc69 — 2026-09-16
- … 4921 more at https://npm.io/package/@tldraw/utils/versions

## README

## @tldraw/utils

Utility functions used by tldraw.

## Documentation

Documentation for the most recent release can be found on [tldraw.dev/docs](https://tldraw.dev/docs), including [reference docs](https://tldraw.dev/reference/editor/Editor). Our release notes can be found [here](https://tldraw.dev/releases).

For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).

A `DOCS.md` file is included alongside this README in the published package, with detailed API documentation and usage examples.

## Contribution

Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).

## License

This project is provided under the MIT License found [here](https://github.com/tldraw/tldraw/blob/main/packages/utils/LICENSE.md). The tldraw SDK is provided under the [tldraw license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).

## Trademarks

Copyright (c) 2024-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our [trademark guidelines](https://github.com/tldraw/tldraw/blob/main/TRADEMARKS.md) for info on acceptable usage.

## Contact

Find us on Twitter/X at [@tldraw](https://twitter.com/tldraw).

## Community

Have questions, comments or feedback? [Join our discord](https://discord.tldraw.com/?utm_source=github&utm_medium=readme&utm_campaign=sociallink). For the latest news and release notes, visit [tldraw.dev](https://tldraw.dev).

---
_Source: https://npm.io/package/@tldraw/utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
