Pify is a JavaScript package for converting callback-based functions into promise-returning equivalents. It can promisify a single function or process the methods of an entire module automatically. This makes older Node.js callback APIs easier to use with async and await syntax. Developers can selectively include or exclude methods through names or regular-expression patterns. The library can return multiple callback values as an array when an API provides more than one successful result. It also supports APIs that do not follow the conventional error-first callback pattern. Additional options allow the module's main function to remain untouched and permit use of a custom Promise implementation.

Features

  • Single-function promisification
  • Whole-module method promisification
  • Include and exclude method filtering
  • Multiple callback-result support
  • Non-error-first callback compatibility
  • Custom Promise implementation support

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Pify

Pify Web Site

Other Useful Business Software
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Pify!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2026-09-08