@eliranmal/proxify

callbacks to `async`s, all over the place

Stats

StarsIssuesVersionUpdatedCreatedSize
@eliranmal/proxify
100.1.13 years ago3 years agoMinified + gzip package size for @eliranmal/proxify in KB

Readme

proxify

callbacks to asyncs, all over the place

NPM

overview

asyncify all functions on an object with node-style functions.

usage

const obj = {
  foo: (bar, done) => done(null, 'wat'),
};

const asyncObj = proxify(obj);

const result = await asyncObj.foo(1);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.