# rafy

> Another RAF engine

Latest version **1.0.0** (published 2020-05-01) · ISC license · 0 weekly downloads

## Install

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

## 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-05-01 |
| First published | 2020-05-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Svetli Nikolov |
| Maintainers | svetli |
| Keywords | RAF, request, animation, frame |

## Links

- npm: https://www.npmjs.com/package/rafy
- Repository: https://github.com/svetli/rafy
- Homepage: https://github.com/svetli/rafy#readme
- Issues: https://github.com/svetli/rafy/issues
- npm.io page: https://npm.io/package/rafy

## 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.0 (latest) — 2020-05-01

## README

# rafy

> A RAF js engine

## Install

```
$ npm install rafy
```

## Usage

```js
import Rafy from 'rafy';

const rafy = new Rafy();

const fn = () => {
  console.log('It will perform the function on each frame');
};

// Add function to queue
rafy.add(fn);

// Start rafy
rafy.start();

// Remove function from queue
rafy.remove(fn);

// Stop rafy
rafy.stop()
```

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