# @trufi/utils

> Trufi's utility functions

Latest version **1.0.0** (published 2023-05-24) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-05-24 |
| First published | 2021-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 59.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mstislav Zhivodkov |
| Maintainers | trufi |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2023-05-24
- 0.0.13 — 2023-05-22
- 0.0.12 — 2022-08-11
- 0.0.11 — 2022-05-10
- 0.0.10 — 2022-02-14
- 0.0.9 — 2022-02-14
- 0.0.8 — 2021-12-15
- 0.0.7 — 2021-09-20
- 0.0.6 — 2021-09-19
- 0.0.5 — 2021-09-19
- 0.0.4 — 2021-07-15
- 0.0.3 — 2021-07-15
- 0.0.2 — 2021-07-11
- 0.0.1 — 2021-07-11

## README

# Utils

My utility functions.

Vector and matrix functions are taken from https://github.com/toji/gl-matrix.

## Usage

Install with npm:

```sh
npm install @trufi/utils
```

Import the function you need to your project and use it:

```js
import { vec2lerp } from '@trufi/utils';

// or
import { vec2lerp } from '@trufi/utils/vec2';

// or
import { vec2lerp } from '@trufi/utils/vec2/lerp';
```

## Contributing principles

1. One function — one file.
2. Zero dependencies.

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