coify
Transform generator methods into co-wrapped functions.
Installing
npm install --save coify
Examples
Plain JavaScript objects
const coify = ; { return { ; };} let obj = * { ; return true; }; moduleexports = ; // ... obj; // `true`
Classes/Constructors
const coify = ; { return { ; };} * { ; return true; } moduleexports = ; // ... const thing = ;thing; // `true`