Skip to content

caplin/global-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global compiler

Build Status Dependency Status

Purpose

This repository hosts a set of JS code transforms. The purpose of the transforms is to take script JS code and transform it into CommonJS module code. The transforms are designed to be used by other tools.

Mechanics

The transforms are recast AST visitors. The transformations are independent of each other but can be composed to produce complex transformations. The transforms are configured by their user. The gc-cli repo has examples of how to utilize, combine and configure the transforms.

Testing

Run tests

$ npm t

About

Compile global code into ES6 module code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published