# atomic-ease

> Namespace-aware easing functions.

Latest version **0.1.0** (published 2021-02-20) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install atomic-ease
pnpm add atomic-ease
yarn add atomic-ease
bun add atomic-ease
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-02-20 |
| First published | 2021-02-20 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | FAL |
| Maintainers | fal-works |
| Keywords | easing |

## Links

- npm: https://www.npmjs.com/package/atomic-ease
- npm.io page: https://npm.io/package/atomic-ease

## Recent versions

- 0.1.0 (latest) — 2021-02-20

## README

# atomic-aese

Namespace-aware easing functions.


## Usage

Source code:

```js
import { ease } from "atomic-ease";

const result = ease.In.expo(0.5);
```

After bundling with [Rollup](https://rollupjs.org/):

```js
const easeInExpo = (x) => (x <= 0 ? 0 : Math.pow(2, 10 * (x - 1)));

const result = easeInExpo(0.5);
```


## Implemented easing types

- linear
- quad
- cubic
- quart
- expo
- back

...to be added more.


## Create new easing functions

```js
import { createEase } from "atomic-ease";
```

- `createEase.from()`
- `createEase.concatenate()`
- `createEase.integrate()`

See type declaration for details.

Not yet very well tested.

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