{"id":13414969,"url":"https://github.com/aaronshaf/callbag-animation-frames","last_synced_at":"2025-10-16T19:15:08.929Z","repository":{"id":57193040,"uuid":"120787400","full_name":"aaronshaf/callbag-animation-frames","owner":"aaronshaf","description":"Callbag listenable source sending DOMHighResTimeStamp at display refresh rate","archived":false,"fork":false,"pushed_at":"2019-02-04T23:00:54.000Z","size":107,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T14:49:44.783Z","etag":null,"topics":["callbags","raf","requestionanimationframe"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronshaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-08T16:34:29.000Z","updated_at":"2024-03-20T13:08:54.000Z","dependencies_parsed_at":"2022-09-01T06:01:30.462Z","dependency_job_id":null,"html_url":"https://github.com/aaronshaf/callbag-animation-frames","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-animation-frames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-animation-frames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-animation-frames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronshaf%2Fcallbag-animation-frames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronshaf","download_url":"https://codeload.github.com/aaronshaf/callbag-animation-frames/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252936076,"owners_count":21828072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["callbags","raf","requestionanimationframe"],"created_at":"2024-07-30T21:00:40.553Z","updated_at":"2025-10-16T19:15:08.825Z","avatar_url":"https://github.com/aaronshaf.png","language":"JavaScript","funding_links":[],"categories":["Table Contents"],"sub_categories":["Source factories"],"readme":"```bash\nyarn add callbag-animation-frames\n```\n\n```javascript\nconst pipe = require(\"callbag-pipe\");\nconst forEach = require(\"callbag-for-each\");\nconst animationFrames = require(\"callbag-animation-frames\");\n\npipe(\n  animationFrames,\n  forEach(highResTimeStamp =\u003e {\n    // have fun\n  })\n);\n```\n\nIf you're blessed with the [pipeline operator](https://github.com/tc39/proposal-pipeline-operator):\n\n```javascript\nanimationFrames\n  |\u003e forEach(highResTimeStamp =\u003e {\n    // have fun\n  });\n```\n\n## Learn more\n\n* [Callbag basics](https://github.com/staltz/callbag-basics)\n* [Why we need callbags](https://staltz.com/why-we-need-callbags.html), by André Staltz\n* [requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) (MDN)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fcallbag-animation-frames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronshaf%2Fcallbag-animation-frames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronshaf%2Fcallbag-animation-frames/lists"}