Skip to content
/ ease Public

A tiny javascript easing package with no dependencies.

License

Notifications You must be signed in to change notification settings

tchesa/ease

Repository files navigation

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";
  • include some tests and a README.md file with some details.

About

A tiny javascript easing package with no dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published