{"library":"callforth","type":"library","category":null,"description":"Callforth is a lightweight utility library designed to streamline common asynchronous JavaScript patterns by converting them into Promise-based operations. Currently at version 0.4.0, it offers a small collection of functions to replace traditional callback APIs, enabling developers to leverage `async/await` syntax for cleaner, more readable code. Its primary utilities include `eventOn` for awaiting specific events on any `EventTarget`, `timeout` for promise-based delays, and `polling` for repeatedly checking a predicate until it returns true or a maximum number of tries is reached. The library differentiates itself by focusing on simplifying frequently re-implemented patterns into a tiny, focused package, aiming to provide a 'don't callback, callforth' experience. There isn't a specified strict release cadence, but as a pre-1.0.0 project, updates are likely as needed.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install callforth","imports":["import { eventOn } from 'callforth'","import { timeout } from 'callforth'","import { polling } from 'callforth'"]},{"cmd":"yarn add callforth","imports":[]},{"cmd":"pnpm add callforth","imports":[]}],"homepage":null,"github":"https://github.com/gruhn/callforth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/callforth","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/callforth/compatibility"}}