ES6 Node JS Generator Toolbox

38 views
Skip to first unread message

stephane chretien

unread,
Nov 16, 2015, 4:25:26 PM11/16/15
to nodejs
Hi All,

If you are interested in a toolbox to help you writing your apps relyin on ES6 Generator function and yield, take a look at https://www.npmjs.com/package/genery

It provides a generator flow control based on ES6 native promise and some goodies to run your generator:

  • Support of Continuation Local Storage
  • Generator based all, map, reduce and filter
  • Express generator wrapper, allow usage of generator instead of express callback
  • Mocha generator wrapper, allow usage of generator and yield in unit testing
Let me know if it can be a useful module so I continue to maintain it and enhance it.

Stephane
Reply all
Reply to author
Forward
0 new messages