matthewrobb / node-traceur

Mirror of experimental ES6 to ES5 compiler that is kept in sync with code on google.

Home Page:https://npmjs.org/package/node-traceur

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-traceur

This is a mirror of the traceur compiler hosted on code.google.

For more information about Traceur Compiler, visit: http://code.google.com/p/node-traceur/

It was slightly adapted to include only the files necessary to consume it from another node.js module and make that easier.

Please find the original readme here.

Installation

npm install node-traceur

API

As part of the adaptation the entire API is exposed properly so things like require('traceur/src/node/compiler') are no longer necessary.

Please consult the index file to see what is exposed from where.

Note: I welcome additions from anyone (especially the Chromium authors) that add more API documentation here.

TODO

Use source-map npm module instead of including it in third_party

That however requires fixing all references to it in the code and at this point I didn't want to take that on.

About

Mirror of experimental ES6 to ES5 compiler that is kept in sync with code on google.

https://npmjs.org/package/node-traceur

License:Apache License 2.0