@trufi/utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Utils

My utility functions.

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

Usage

Install with npm:

npm install @trufi/utils

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

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.

/@trufi/utils/

    Package Sidebar

    Install

    npm i @trufi/utils

    Weekly Downloads

    36

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    60.5 kB

    Total Files

    231

    Last publish

    Collaborators

    • trufi