# eaaase

> Some ease functions

Latest version **1.0.0** (published 2020-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install eaaase
pnpm add eaaase
yarn add eaaase
bun add eaaase
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-22 |
| First published | 2018-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 42.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bastien Robert |
| Maintainers | bastienrobert |
| Keywords | pinch, mobile zoom |

## Links

- npm: https://www.npmjs.com/package/eaaase
- Repository: https://github.com/bastienrobert/ease
- Homepage: https://github.com/bastienrobert/ease#readme
- Issues: https://github.com/bastienrobert/ease/issues
- npm.io page: https://npm.io/package/eaaase

## Recent versions

- 1.0.0 (latest) — 2020-01-22
- 0.1.2 — 2018-12-11
- 0.1.1 — 2018-12-11
- 0.1.0 — 2018-12-11

## README

# Eaaase

[![NPM](https://nodei.co/npm/eaaase.png?compact=true)](https://nodei.co/npm/eaaase/)

Some ease functions

## How to use

You can download the index.js and add it to your project, or:

```
npm install eaaase
```

then

```js
import Ease from 'eaaase'
// or
const Ease = require('eaaase')

Ease.linear(currentTime, from, to, duration)
```

## Example

[Example](https://bastienrobert.github.io/eaaase/) using canvas 2d and easeInCubic function.

## Functions

- **linear** : _no easing, no acceleration_
- **quadratic**
- **cubic**
- **quartic**
- **quintic**
- **sine**
- **expo**
- **circular**
- **back**
- **bounce**
- **elastic**

Inspired from http://gizma.com/easing/

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