Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

christopherjbaker/talk-es6

Repository files navigation

Usage

The examples in this repo were created to be run using Traceur, "a JavaScript.next-to-JavaScript-of-today compiler that allows you to use features from the future today".

To run the examples standalone, the easiest way is to install traceur then execute the files as you would with node (note that traceur does not auto-add the .js extension as node does).

npm install -g traceur
traceur script.js

Alternately, you can use traceur-repl to run live code.

npm install -g traceur-repl
traceur-repl

Finally, if you want to use es6 in production, I would suggest using JSPM as it supports ES6 via traceur and ES5 via AMD and CommonJS. This last ability means it can import/require nodejs modules as well.

Compatibility

Want to use ES6? Check the compatibility table.

Features

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published