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