JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25187
  • Score
    100M100P100Q148293F
  • License MIT

A tiny raf ponyfill

Package Exports

  • @essentials/raf
  • @essentials/raf/package.json

Readme


@essentials/raf

Bundlephobia Types NPM Version MIT License

npm i @essentials/raf

A tiny requestAnimationFrame and cancelAnimationFrame ponyfill

Quick Start

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

const handle = raf(tick)
caf(handle)

LICENSE

MIT