Changes
- fix: update jsonc-parser to 0.26 (#39)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add json
). - Add a
"json"
configuration property if desired.{ // ...etc... "json": { // json config goes here }, "plugins": [ "https://plugins.dprint.dev/json-0.19.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package