{"library":"d3-timer","type":"library","category":null,"description":"An efficient queue for managing thousands of concurrent animations with consistent, synchronized timing. Version 3.0.1 (stable) uses requestAnimationFrame for fluid animation when available, falling back to setTimeout for delays >24ms. Unlike raw setInterval or setTimeout, d3-timer provides frame-level synchronization, automatic pause during page backgrounding, and guaranteed callback order within frames. Part of the D3 ecosystem, it is also usable standalone via npm or CDN (ESM, UMD, or Skypack).","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","d3","d3-module","timer","transition","animation","requestAnimationFrame","setTimeout","setInterval"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install d3-timer","imports":["import { timer } from 'd3-timer'","import { now } from 'd3-timer'","import type { Timer } from 'd3-timer'"]},{"cmd":"yarn add d3-timer","imports":[]},{"cmd":"pnpm add d3-timer","imports":[]}],"homepage":"https://d3js.org/d3-timer/","github":"https://github.com/d3/d3-timer","docs":null,"changelog":null,"pypi":null,"npm":"d3-timer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}