@j0hnm4r5/easings

2.0.0 • Public • Published

@j0hnm4r5/easings

XO Prettier

Yet another Easings library for JS (ES2015+).

Getting Started

Installation

yarn add @j0hnm4r5/easings

Usage

Easings always takes a value from 0...1 and returns a number from 0...1 (except for Elastic — those numbers may return outside the range).

import { Easings } from "easings";

Easings.easeInOut(7)(0.5); // generic easing funcions; the first number is the function order

Easings.easeInQuart(0.5); // everything else

Inspirations

Authors

License

MIT © John Mars

Readme

Keywords

none

Package Sidebar

Install

npm i @j0hnm4r5/easings

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

6.08 kB

Total Files

4

Last publish

Collaborators

  • j0hnm4r5