espoet - simple api for ecmascript source code generation.
This project grew out of work I was doing on a separate project. I needed to generate some ES modules that would live alongside the rest of the project's source code.
I needed a very simple API that improved on concatenating a bunch of strings together, but was less verbose than manipulating AST directly.
The primary goal was allow me to build code and make fewer mistakes, e.g. escape strings, support simple formatting arguments, etc.
Validation and final formatting is done by passing the resulting string through prettier.
Approach inspired by Javapoet.