Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

📚 How to use async/await in ES6 or ES5 environments

License

Notifications You must be signed in to change notification settings

josmardias/async-await-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

async-await-example

How to use async/await in ES6 or ES5 environments

Dependencies:

  • NVM
    • NPM
    • Node (<4 and >= 4)

To ecma 6, use node 4+

cd to-ecma-6
npm install
npm run build -s
nvm run node ./dist/async-function-ecma-7-sample.js

To ecma 5, use node 0.12.x

cd to-ecma-5
npm install
npm run build -s
nvm run 0.12.9 ./dist/async-function-ecma-7-sample.js

About

📚 How to use async/await in ES6 or ES5 environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published