Node.js process.addAsyncListener Polyfill
JSON →async-listener is a polyfill and shim for the experimental `process.addAsyncListener` API, originally proposed for Node.js versions prior to 0.12 (specifically anticipated for 0.11.7). The package, currently at version 0.6.10, aimed to provide functionality for tracking asynchronous operations through `create`, `before`, `after`, and `error` hooks in an `AsyncListener` object. This API never landed in a stable version of Node.js core; it was a predecessor to what eventually became the `async_hooks` module (introduced in Node.js v8.0.0) and later the more user-friendly `AsyncLocalStorage` API (now stable). The package's release cadence was infrequent, with the last publish many years ago, aligning with its role as a temporary shim for an abandoned core feature. Its key differentiator was providing an early glimpse and implementation of async context tracking during Node.js's nascent stages of developing such features.
Traffic · last 30 days ↑14% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France