/generator-examples

Example code from the blog post “ES6 generators in depth”

Primary LanguageJavaScript

Generator examples

This repository contains the code examples from the blog post “ES6 generators in depth”.

Directories:

  • data/ The data used by the example node/co_demo/
  • node/ Node.js-based examples.
    • Install packages that the code depends on: cd node/ ; npm install
    • Use babel-node to run them.
  • nonblocking-counter/ Web-based example: a non-blocking counter shown on a web page. Uses Babel to run in current browsers.