raysarebest / th-blog-js-async

The finished code examples for my post about asynchrony in JavaScript on the Treehouse Blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Asynchrony Treehouse Blog Post Examples

There are the code examples to go along with my post on the Treehouse blog about concurrency in JavaScript. Before you do anything after downloading this project, be sure to run npm install. After that, you can run each of the 3 different variations with an npm script:

  1. Callbacks

    • Make sure you have Node.js 6 or later installed
    • Run npm run callbacks
    • Point your favorite browser to localhost:3000
  2. Promises

    • Make sure you have Node.js 6 or later installed
    • Run npm run promises
    • Point your favorite browser to localhost:3000
  3. async/await

    • Make sure you have Node.js 7.6 or later installed
    • Run npm run async-await
    • Point your favorite browser to localhost:3000

About

The finished code examples for my post about asynchrony in JavaScript on the Treehouse Blog

License:Other


Languages

Language:JavaScript 100.0%