Repository navigation
0.27.0
·
9 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changes
Thanks to @todor-a for implementing the big speedup in this release!
- perf: build the wasm plugin with simd (#95)
- perf: compact tokens and reuse a bump allocator (#92)
- perf: compare the formatted text many bytes at a time in wasm (#96)
- perf: format off a stream of bytes instead of parsing (#56)
- perf: scan strings and indentation eight bytes at a time (#93)
- perf: speed up the printer (#94)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"array (can be done viadprint add json). - Add a
"json"configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
{ // ...etc... "json": { // json config goes here }, "plugins": [ "npm:@dprint/json@0.27.0" ] }