0.0.6 • Published 1 year ago

@tchesa/ease v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago