util.promisify Polyfill
JSON →This package provides a polyfill or shim for the `util.promisify` function, which was introduced natively in Node.js v8.0.0. For environments running Node.js versions older than 8, it supplies its own implementation, enabling the use of Promise-based asynchronous patterns for callback-style functions. In Node.js v8.0.0 and later, it effectively becomes a passthrough, exporting the built-in `util.promisify`. The current stable version is 1.1.3. As a polyfill for a long-established native feature, its release cadence is very slow, primarily for bug fixes or to align with ancient Node.js environments. Its key differentiator is providing this core Node.js utility in environments where it's otherwise absent, making it crucial for maintaining compatibility across a wide range of Node.js versions, particularly in legacy applications that cannot upgrade past Node.js 7.x or older.
Traffic · last 30 days ↓80% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France