0.0.6 • Published 3 years ago

@tchesa/ease v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

npm version Coverage Status

@tchesa/ease

A tiny javascript easing package with no dependencies.

Install

npm i @tchesa/ease

Usage

import { easeOutCubic } from '@tchesa/ease'

console.log(easeOutCubic(0.5)); // -> 0.875

Methods

Contribute

To include a new easing function:

  • Create a index.ts inside a new folder for each easing function inside src, e.g. src/newEasingFunction/index.ts;
  • include their export in src/index.ts file.
// ...
export { default as newEasingFunction } from "./newEasingFunction";

Easing functions' implementation from See https://easings.net/.

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago