Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 934 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 934 Bytes

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