Skip to content

This is a mini transpiler. It converts ES6 Class and its methods to ES5 Constructor Function with Prototype. Parses to AST from the string code, Transforms and Generates...

Notifications You must be signed in to change notification settings

oyilmaztekin/es6-class-to-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES6 TO ES5 function

It is a tiny example of Babel ES6 to ES5 converter.

  1. Parses the code and converts to ast
  2. Transforming the code in AST data structure
  3. Generates codes from transformed AST

Dependencies

  1. Babylon
  2. Babel-traverse
  3. Babel-Generator

About

This is a mini transpiler. It converts ES6 Class and its methods to ES5 Constructor Function with Prototype. Parses to AST from the string code, Transforms and Generates...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published