Using transpiled ES6 on Node.js

added by JavaScript Kicks
4/7/2015 10:20:21 AM

2 Kicks, 121 Views

This blog post explains how to use ES6 on Node.js by transpiling it to ES5 via Babel. A previous blog post showed how to dynamically transpile ES6 at runtime (also via Babel). That is more convenient and should work for most projects, but occasionally you may want a simpler and faster setup for your runtime environment.