Example code from the blog post “ES6 generators in depth”
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
node
nonblocking-counter
.gitignore
README.md

README.md

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.