Skip to content

Re-write: Output JS looking objects

Choose a tag to compare

@timhaywood timhaywood released this 23 Sep 23:13
· 17 commits to master since this release

A full rewrite of the transforms to make it more robust. All of the transformations are now done based on the AST.

Output has been transformed from:

{
  "someVariable": value,
  "someFunction": function() {},
}

To:

{
  someVariable: value,
  someFunction() {}
}

To improve readability and syntax highlighting.