Simple Node.js module to convert a function from callback style to yieldable style