Changes
- fix: prevent prefix semicolon insertion for increment and decrement (#648)
- perf: deno_ast 0.41 (#653)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.91.5.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package