auto-pilot
Auto pilot your es6 generator functions
Usage Example
var autopilot = ; var { var name = ; //yield a promise 'httpRequestData' resolve ' World!' var str = {return 'Hello! ' + name; }; //also can yield a function return str; }; ;
Use in angularjs
{ return ;};
Notice
Require a global Promise polyfill
Develop/Test
$ npm install
$ npm run test