to-generator Make a function behave and look like a generator function. Installation $ npm install @f/to-generator Usage var toGenerator = require('@f/to-generator') API toGenerator(arg) arg - Returns: License MIT