JSPM

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

A tiny raf ponyfill

Package Exports

  • @essentials/raf

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@essentials/raf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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