@trufi/utils
v1.0.0
Published
Trufi's utility functions
Downloads
101
Readme
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
- One function — one file.
- Zero dependencies.