Beautifying HTML, JS/JSON, or CSS content. A thin layer on top of js-beautify, geared towards Typescript usage. Its usage is twofold:

  1. It provides a unified interface that works both for Deno and Node.js, overcoming the issues between the two on how modules are handled
  2. The js-beautify is combined with options coming from .editorconfig (if available).

Note: js-beautify refers to editorconfig, as if it understood its options, but it did not work for me. Hence this layer.

Type Aliases

ConfigOptions

Functions

beautify
getEditorConfigOptions