{"library":"run-async","type":"library","category":null,"description":"run-async is a utility method designed to normalize the execution of functions that can operate synchronously, asynchronously via a `this.async()` callback, or by returning a Promise. This library is particularly useful for authors of middleware or plugins that need to accept user-provided functions with varying asynchronous patterns, ensuring a consistent execution flow. The current stable version is 4.0.6, and the project demonstrates an active maintenance cadence, addressing dependency issues and enhancing functionality across major versions. A key differentiator is its ability to abstract away the underlying async mechanism, providing a single interface, and its current status as a dependency-free package since version 2.4.1, which improves reliability and reduces supply chain risks.","language":"javascript","status":"active","version":"4.0.6","tags":["javascript","flow","flow-control","async","typescript"],"install":[{"cmd":"npm install run-async","imports":["import { runAsync } from 'run-async';","import { runAsync } from 'run-async'; runAsync.cb(...);","import type { RunAsync } from 'run-async';"]},{"cmd":"yarn add run-async","imports":[]},{"cmd":"pnpm add run-async","imports":[]}],"homepage":null,"github":"https://github.com/SBoudrias/run-async","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/run-async","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/run-async/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}