# @essentials/raf

> A tiny raf ponyfill

Latest version **1.2.0** (published 2020-06-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @essentials/raf
pnpm add @essentials/raf
yarn add @essentials/raf
bun add @essentials/raf
```

## 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.2.0 |
| Published | 2020-06-05 |
| First published | 2020-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Maintainers | jaredlunde |
| Keywords | raf, requestAnimationFrame, raf polyfill, request animation frame polyfill, requestAnimationFrame polyfill, raf ponyfill, request animation frame ponyfill, requestAnimationFrame ponyfill |

## Links

- npm: https://www.npmjs.com/package/@essentials/raf
- Repository: https://github.com/jaredLunde/essentials
- Homepage: https://github.com/jaredLunde/essentials/tree/master/packages/raf#readme
- Issues: https://github.com/jaredLunde/essentials/issues
- npm.io page: https://npm.io/package/@essentials/raf

## 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.2.0 (latest) — 2020-06-05
- 1.1.3 — 2020-04-25
- 1.1.2 — 2020-04-25
- 1.1.1 — 2020-04-25
- 1.1.0 — 2020-04-25
- 1.0.3 — 2020-04-25
- 1.0.2 — 2020-04-25
- 1.0.1 — 2020-04-25
- 1.0.0 — 2020-04-25

## README

<hr>
<div align="center">
  <h1 align="center">
    @essentials/raf
  </h1>
</div>

<p align="center">
  <a href="https://bundlephobia.com/result?p=@essentials/raf">
    <img alt="Bundlephobia" src="https://img.shields.io/bundlephobia/minzip/@essentials/raf?style=for-the-badge&labelColor=24292e">
  </a>
  <a aria-label="Types" href="https://www.npmjs.com/package/@essentials/raf">
    <img alt="Types" src="https://img.shields.io/npm/types/@essentials/raf?style=for-the-badge&labelColor=24292e">
  </a>
  <a aria-label="NPM version" href="https://www.npmjs.com/package/@essentials/raf">
    <img alt="NPM Version" src="https://img.shields.io/npm/v/@essentials/raf?style=for-the-badge&labelColor=24292e">
  </a>
  <a aria-label="License" href="https://jaredlunde.mit-license.org/">
    <img alt="MIT License" src="https://img.shields.io/npm/l/@essentials/raf?style=for-the-badge&labelColor=24292e">
  </a>
</p>

<pre align="center">npm i @essentials/raf</pre>
<hr>

A tiny `requestAnimationFrame` and `cancelAnimationFrame` ponyfill

## Quick Start

```js
import {raf, caf} from '@essentials/raf'

const handle = raf(tick)
caf(handle)
```

## LICENSE

MIT

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