# eases-jsnext

> grab bag of easing equations

Latest version **1.0.10** (published 2017-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install eases-jsnext
pnpm add eases-jsnext
yarn add eases-jsnext
bun add eases-jsnext
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2017-09-23 |
| First published | 2015-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 28 |
| Author | Matt DesLauriers |
| Maintainers | rich_harris |
| Keywords | ease, eases, robert, penner, easing, easings, linear, lerp, animation, tween, anim, animations, tweening, tweens, function, functions, expo, quint, quadratic |

## Links

- npm: https://www.npmjs.com/package/eases-jsnext
- Repository: https://github.com/rollup/eases-jsnext
- Issues: https://github.com/rollup/eases-jsnext/issues
- npm.io page: https://npm.io/package/eases-jsnext

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 1.0.10 (latest) — 2017-09-23
- 1.0.9 — 2017-04-30
- 1.0.8 — 2015-10-28

## README

# eases-jsnext

This is a fork of [mattdesl/eases](https://github.com/mattdesl/eases). It includes [tree-shaking-friendly ES6 modules](http://rollupjs.org), and a UMD build for [use in browser](http://jsfiddle.net/2cpy2zqm/).

It preserves the original individual CommonJS files, and therefore serves as a drop-in replacement.

---

# eases

[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)

This is a grab-bag of [Robert Penner's easing equations](http://www.robertpenner.com/easing/), most of the code from [glsl-easings](https://www.npmjs.org/package/glsl-easings). Pull requests for optimizations are welcome.

```js
//require all eases
import * as eases from 'eases-jsnext';

//require only the single function
import { quadIn } from 'eases-jsnext';
```

## Usage

[![NPM](https://nodei.co/npm/eases.png)](https://nodei.co/npm/eases/)

Full list of eases:

```js
import {
  backInOut,
  backIn,
  backOut,
  bounceInOut,
  bounceIn,
  bounceOut,
  circInOut,
  circIn,
  circOut,
  cubicInOut,
  cubicIn,
  cubicOut,
  elasticInOut,
  elasticIn,
  elasticOut,
  expoInOut,
  expoIn,
  expoOut,
  linear,
  quadInOut,
  quadIn,
  quadOut,
  quartInOut,
  quartIn,
  quartOut,
  quintInOut,
  quintIn,
  quintOut,
  sineInOut,
  sineIn,
  sineOut
} from 'eases-jsnext';
```

All easing functions only remap a time value, and all have the same signature.

#### ```v = ease(t)```

Where `t` is typically a value between 0 and 1, and it returns a new float that has been eased.

## License

MIT, see [LICENSE.md](http://github.com/mattdesl/eases/blob/master/LICENSE.md) for details.

---
_Source: https://npm.io/package/eases-jsnext · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
