{"library":"util-promisify","type":"library","category":null,"description":"util-promisify is a JavaScript package that provides the `util.promisify` function from Node.js core as a standalone module. It was originally created to enable the use of `async/await` patterns with callback-based Node.js APIs in environments prior to Node.js 8, where `util.promisify` was initially introduced. While the current stable version is 3.0.0, the package's core functionality is now standard and natively available in all actively supported Node.js versions (v8.0.0 and later). Consequently, this package primarily serves as a polyfill for legacy Node.js environments. Its release cadence is infrequent, typically limited to minor maintenance updates or compatibility adjustments, rather than active feature development. The key differentiator at its inception was providing early access to this crucial utility for modernizing asynchronous code, though its necessity has significantly diminished due to its universal inclusion in recent Node.js runtimes. Developers targeting Node.js versions older than 8.0.0 would find this module essential, otherwise, the native `util.promisify` should be preferred for better performance and reduced dependency count.","language":"javascript","status":"maintenance","version":"3.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install util-promisify","imports":["const promisify = require('util-promisify');","import promisify from 'util-promisify';","const promisify = require('util-promisify');\nconst customSymbol = promisify.custom;"]},{"cmd":"yarn add util-promisify","imports":[]},{"cmd":"pnpm add util-promisify","imports":[]}],"homepage":null,"github":"https://github.com/juliangruber/util-promisify","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/util-promisify","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/util-promisify/compatibility"}}