-
-
Save starakaj/a25d137e31a447e076eaaafcadf05f87 to your computer and use it in GitHub Desktop.
Using babel generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import generate from "@babel/generator"; | |
// ... | |
const outputString = generate(programAST).code; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment