0.1.1 • Published 6 years ago
@eliranmal/proxify v0.1.1
proxify
callbacks to
async
s, all over the place
overview
async
ify 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);