it-works-regenerator

A simple npm module to print out 'it works' via regenerator

it-works-regenerator

A simple npm module to print out 'it works' via regenerator

example

var gen = require('it-works-regenerator')(100);
var y = gen.next();
while(1) {
  if(y.done) break;
  console.log(y.value);
  y = gen.next();
}