jstransformify
Browserify transform which applies facebook/jstransform visitors, allowing for easily writing code with ES6 features like classes, arrow functions, destructured assignment, etc.
Installation
> npm install jstransformify
Usage
> browserify -t [ jstransformify -v jstransform/visitors/es6-class-visitors -v jstransform/visitors/es6-destructuring-visitors ] app.js > bundle.js
Available transforms
- es6-arrow-function-visitors
- βes6-class-visitors
- βes6-destructuring-visitors
- βes6-object-concise-method-visitors
- βes6-object-short-notation-visitors
- βes6-rest-param-visitors
- βes6-template-visitors
- βes7-spread-property-visitors
Visit jstransform for a complete list of available visitors