Changes
- fix: handle doc-like comments when forcing a leading space (#25)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Add a
"toml"
configuration property if desired.{ // ...etc... "toml": { // toml config goes here }, "plugins": [ "https://plugins.dprint.dev/toml-0.6.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package