cb-ify
callbackify your promise-returning fns
usage
const cbify = const fn =
you can specify a context to bind to as the 2nd arg
const cat = name: 'speckles' { return `my name is ` }const fn = // => "my name is speckles"
also works with sync fns
const fn =
for objects it will return a new obj with all fns cbify'd and bound to the original obj or the specified context
const obj = obj