Query: Can prettier create a js file from an AST #5998
Labels
area:api
Issues with Prettier's Application Programming Interface
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:needs discussion
Issues needing discussion and a decision to be made before action can be taken
type:enhancement
A potential new feature to be added, or an improvement to how we print something
Hi, I've gone through and tried to find similar issues one of which is #1059.
I'm looking at creating some sort of visual scripting interface for JavaScript as a personal project. I'm very much on board with Prettier's goal, so I feel that code generated by the Visual Scripting tool should result in the same code as prettier would output. So I have a similar question to what the person in 1059 has:
Is there an exposed api that would allow me to input a programatically created AST into prettier and output a Javascript file?
The text was updated successfully, but these errors were encountered: