Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/joshwcomeau/raft

Utility for efficient, organized window-level event handlers
https://github.com/joshwcomeau/raft

Last synced: 17 days ago
JSON representation

Utility for efficient, organized window-level event handlers

Awesome Lists containing this project

README

        

# RAFT
### RequestAnimationFrame Throttle

---------

An efficient manager for all your window-level event handlers. Bundles them together and uses requestAnimationFrame to ensure optimal running frequency.

### Why?

This module attempts to solve two main problems:

* Performance when dealing with lots of window-level events
* Organization, keeping code sane

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Describe rafthrottle here.

[build-badge]: https://img.shields.io/travis/user/repo/master.svg?style=flat-square
[build]: https://travis-ci.org/user/repo

[npm-badge]: https://img.shields.io/npm/v/npm-package.svg?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.svg?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo