staltz

staltz/promisify-tuple

Promisify a callback-style function, resolving with [err,val]

JavaScript
31
2
MIT License

Promisify-tuple is a lightweight utility that converts Node.js-style callback functions into promises that resolve to a `[err, val]` tuple, simplifying error handling in async code. It's designed for JavaScript developers who want to maintain the familiar callback-style error handling pattern while leveraging async/await syntax. This tool is particularly useful for those working with Node.js APIs that follow the `(err, val) => void` callback convention.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

staltz's profile
staltz
9 contributions
samouss's profile
samouss
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet