UNPKG

call-to-promise

Version:

A lightweight, production-ready, universal library for transforming callback-style functions into Promise-based ones. Works seamlessly across Node.js, Deno, and browsers.

3 lines (2 loc) 155 B
export { id, successfn, failfn, when, build } from './types/promiser'; export { SimpleDeferred, Collection, PromiseResolutionFn } from './types/promiser';