Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Add a
"sql"
configuration property if desired.{ // ...etc... "sql": { // sql config goes here }, "plugins": [ "https://plugins.dprint.dev/sql-0.2.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package