# @kjerandp/linear-algebra

> Math library for doing basic linear algebra operations

Latest version **1.0.5** (published 2019-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kjerandp/linear-algebra
pnpm add @kjerandp/linear-algebra
yarn add @kjerandp/linear-algebra
bun add @kjerandp/linear-algebra
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-08-26 |
| First published | 2019-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 202.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kjerand Pedersen |
| Maintainers | kjerandp |
| Keywords | vector, math, matrix, matricies, linear, algebra, transformations, 2d, 3d, 4d |

## Links

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

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-08-26
- 1.0.4 — 2019-08-14
- 1.0.3 — 2019-08-14
- 1.0.2 — 2019-08-14
- 1.0.1 — 2019-08-12
- 1.0.0 — 2019-08-09
- 1.0.0-alpha.5 — 2019-08-08
- 1.0.0-alpha.4 — 2019-08-07
- 1.0.0-alpha.3 — 2019-08-06
- 1.0.0-alpha.2 — 2019-08-06
- 1.0.0-alpha.1 — 2019-08-06
- 1.0.0-alpha.0 — 2019-08-06
- 0.2.4 — 2019-06-27
- 0.2.3 — 2019-06-27
- 0.2.2 — 2019-05-28
- … 15 more at https://npm.io/package/@kjerandp/linear-algebra/versions

## README

# Linear algebra

Math library for doing basic linear algebra operations, inspired by GLSL.

## Installation
```
npm install --save @kjerandp/linear-algebra
```
## Usage

The package exports an object containing all types and functions. 

```js
// es6
import { vec3, mat3, ... } from '@kjerandp/linear-algebra';

// commonjs
const lib = require('@kjerandp/linear-algebra');

const vec3 = lib.vec3;
const mat3 = lib.mat3;
(...)
```

See this [live sample](https://observablehq.com/@kjerandp/affine-transformations) of usage or refer to the [docs](https://kjerandp.github.io/linear-algebra/) and tests for more details.

## License
MIT

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