DanWahlin / ES2015Samples

A set of ECMAScript 2015 examples as well as a Gulp file that converts them to ES5 using Babel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ES6/ES2015 Samples

==========

A set of ECMAScript 2015 (also called ES6) examples as well as a Gulp file that converts them to ES5 using Babel.

To run the samples:

  1. Install Node.js from https://nodejs.org (latest LTS version is recommended)

  2. Run npm install at the root of the project in a command window

  3. Install the gulp package globally:

    npm install -g gulp

  4. Run gulp (from the root of the project) in the command window to transpile ES6/ES2015 code to ES5 (leave the window open since it watches for file changes)

  5. Open another console window and run npm start to launch the browser

About

A set of ECMAScript 2015 examples as well as a Gulp file that converts them to ES5 using Babel.


Languages

Language:JavaScript 51.5%Language:HTML 48.5%