Skip to content

andreypopp/jstransformify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Browserify transform which applies jstransform visitors

Resources

License

Stars

Watchers

Forks

Packages

No packages published