# @m4xdev/vector

> A simple vector 3D library.

Latest version **0.0.2** (published 2023-02-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install @m4xdev/vector
pnpm add @m4xdev/vector
yarn add @m4xdev/vector
bun add @m4xdev/vector
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-02-12 |
| First published | 2023-02-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maxwell DeVos |
| Maintainers | maxdevos49 |
| Keywords | vector, vectors, vector1d, vector2d, vector3d, immutable |

## Links

- npm: https://www.npmjs.com/package/@m4xdev/vector
- npm.io page: https://npm.io/package/@m4xdev/vector

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2023-02-12
- 0.0.1 — 2023-02-12

## README

# Vector 1D/2D/3D library

A simple light weight vector library with vector utility functions. All utilities are immutable and return a new vector object literal.

## Example
```ts

const vector1 = Vector3.create(5,5);
const vector2 = Vector3.create(10,10);

const sumVector = Vector3.add(vector1, vector2);
// sumVector === {x: 15, y: 15, z:0}

```

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