{"library":"isomorphic-timers-promises","type":"library","category":null,"description":"The `isomorphic-timers-promises` package provides a unified, promise-based API for handling asynchronous timers (`setTimeout`, `setImmediate`, `setInterval`) across both client-side browser environments and server-side Node.js runtimes. It serves as a polyfill and consistent interface for the `timers/promises` API introduced in Node.js, ensuring that code relying on these promise-returning timer functions works seamlessly regardless of the execution environment. Currently at stable version 1.0.1, the package is relatively new but offers a direct implementation of the Node.js specification, aiming for high compatibility. Its key differentiator is providing this modern timer API in contexts where it's not natively available, specifically browsers, or older Node.js versions, by abstracting away environmental differences. While it currently ships with version 1.0.1, its release cadence is expected to be stable after its initial minor updates.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","timers","promises","async","promise","settimeout","setinterval","setimmediate"],"last_verified":"Wed May 27","install":[{"cmd":"npm install isomorphic-timers-promises","imports":["import { setTimeout } from 'isomorphic-timers-promises';","import { setImmediate } from 'isomorphic-timers-promises';","import { setInterval } from 'isomorphic-timers-promises';"]},{"cmd":"yarn add isomorphic-timers-promises","imports":[]},{"cmd":"pnpm add isomorphic-timers-promises","imports":[]}],"homepage":null,"github":"https://github.com/niksy/isomorphic-timers-promises","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/isomorphic-timers-promises","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/isomorphic-timers-promises/compatibility"}}