braintree

braintree/wrap-promise

Small module to help support APIs that return a promise or use a callback.

TypeScript
18
12
MIT License

This project provides a utility for wrapping functions that return promises, enabling them to also support callback-based usage. It is designed for developers working with APIs that need to accommodate both promise and callback patterns, offering flexibility in how asynchronous operations are handled. The module also includes a feature to automatically wrap all methods of a prototype, with options to ignore specific methods or transform private ones.

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

crookedneighbor's profile
crookedneighbor
32 contributions
adrmachado-public's profile
adrmachado-public
11 contributions
jplukarski's profile
jplukarski
6 contributions
braintreeps's profile
braintreeps
6 contributions
ibooker's profile
ibooker
5 contributions
dependabot[bot]'s profile
dependabot[bot]
3 contributions
oscarleonnogales's profile
oscarleonnogales
3 contributions

Recent events

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

No events yet