# @tldraw/vec

> 2D vector utilities for TLDraw and maybe you, too.

Latest version **1.9.2** (published 2023-04-01) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 50/100 (C)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.9.2 |
| Published | 2023-04-01 |
| First published | 2021-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 62.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 50962 |
| Author | @steveruizok |
| Maintainers | steveruizok, tldraw-personal |
| Keywords | 2d, vector, typescript, javascript |

## Links

- npm: https://www.npmjs.com/package/@tldraw/vec
- Repository: https://github.com/tldraw/tldraw
- Homepage: https://github.com/tldraw/tldraw#readme
- Issues: https://github.com/tldraw/tldraw/issues
- npm.io page: https://npm.io/package/@tldraw/vec

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.9.2 (latest) — 2023-04-01
- 1.9.1 — 2023-04-01
- 1.9.0 — 2023-02-06
- 1.8.1 — 2023-02-06
- 1.8.0 — 2022-10-04
- 1.7.1 — 2022-06-21
- 1.7.0 — 2022-02-08
- 1.6.1 — 2022-02-03
- 1.4.3 — 2022-01-07
- 1.4.2 — 2022-01-07
- 1.4.0 — 2021-12-27
- 1.2.9 — 2021-12-22
- 1.2.5 — 2021-12-10
- 1.2.2 — 2021-11-28
- 1.2.1 — 2021-11-28
- … 51 more at https://npm.io/package/@tldraw/vec/versions

## README

<div style="text-align: center; transform: scale(.5);">
  <img src="https://github.com/tldraw/tldraw/raw/main/assets/card-repo.png"/>
</div>

# @tldraw/vec

This package contains the vector methods used by [tldraw](https://tldraw.com).

💕 Love this library? Consider [becoming a sponsor](https://github.com/sponsors/steveruizok?frequency=recurring&sponsor=steveruizok).

## Installation

```bash
yarn add @tldraw/vec
# or
npm i @tldraw/vec
```

## Community

### Support

Need help? Please [open an issue](https://github.com/tldraw/tldraw/issues/new) for support.

### Discussion

Want to connect with other devs? Visit the [Discord channel](https://discord.gg/SBBEVCA4PG).

### License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider [becoming a sponsor](https://github.com/sponsors/steveruizok?frequency=recurring&sponsor=steveruizok).

## Author

- [@steveruizok](https://twitter.com/steveruizok)

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