Get AST, how to turn it into source code? Thank you!
You could try Prettier.
You could try Prettier.
Okay, thank you.
Feel free to continue to discuss, but as this is unrelated to this repo, I'm going to close it.
There are also tools like https://www.npmjs.com/package/astring which can generate JS code, and with a bit of modification can also generate typescript.
Most helpful comment
Feel free to continue to discuss, but as this is unrelated to this repo, I'm going to close it.
There are also tools like https://www.npmjs.com/package/astring which can generate JS code, and with a bit of modification can also generate typescript.