Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jlmakes/miniraf

ES module ponyfill for requestAnimationFrame
https://github.com/jlmakes/miniraf

animation performance ponyfill

Last synced: 10 days ago
JSON representation

ES module ponyfill for requestAnimationFrame

Awesome Lists containing this project

README

        

Build status
Coverage
Version
0.2 kB min+gzip
MIT License

# Installation

## Browser

A simple and fast way to get started is to include this script on your page:

```html

```

This will create the global variable `miniraf`.

## Module

```bash
npm install miniraf
```

#### CommonJS

```js
const miniraf = require('miniraf')
```

#### ES2015

```js
import miniraf from 'miniraf'
```