nene / prettier-plugin-sql-cst

Prettier SQL plugin that uses sql-parser-cst
https://nene.github.io/prettier-sql-playground/
GNU General Public License v3.0
123 stars 7 forks source link

Can it be used inside web app to format user entered query into text area? If so, is there a example by any chance? #26

Closed ykvarts closed 6 months ago

nene commented 6 months ago

It's definitely possible. Please read Prettier API documentation. Or ask from StackOverflow or somewhere else how to use Prettier API.