GitShow/sindresorhus/request-animation-frames
sindresorhus

request-animation-frames

Use requestAnimationFrame as an async iterable, in any JavaScript environment

by sindresorhus
Star on GitHubForknpm

JavaScript

172 stars6 forks2 contributorsQuiet · 2y agoSince 2023v1.0.0MIT

Meet the team

See all 2 on GitHub →
sindresorhus
sindresorhus6 contributions
juliangruber
juliangruber1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
fisker
Accept break condition as argument?ClosedIssue

Instead of

fisker · 8mo ago
fisker
Use async generatorMergedPR

Any particular reason to not use async generator dircetly?

fisker · 1y ago
juliangruber
refactor `{request,cancel}Frame`MergedPR

Instead of creating new functions on every iteration, use the fact that is static and only create functions once (and don't create functions for global methods). I don't think this is a super important change, but could be beneficial for perf and simplicity.

juliangruber · 2y ago
Structured data for AI agents

Repository: sindresorhus/request-animation-frames. Description: Use requestAnimationFrame as an async iterable, in any JavaScript environment Stars: 172, Forks: 6. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v1.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 71%. Top contributors: sindresorhus, juliangruber.

·@ofershap

Replace github.com with gitshow.dev