Escodegen
Render a JavaScript syntax tree as source code.
estools · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Generate the expression for five plus two from three syntax nodes.
What we tested
2.1.0. Generate the expression for five plus two from three syntax nodes. Rendered the exact source expression 5 + 2.