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.
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.
Run tests
$ npm t