Format & beautify JavaScript, TypeScript, JSX/TSX, CSS, SCSS, LESS, HTML & JSON, safely. Tidy respects your VS Code config and never auto-formats or hijacks your files unless you ask. Tidy is a ...
To use js-beautify as a node library (after install locally), import and call the appropriate beautifier method for javascript (js), css, or html. All three method signatures are beautify (code, ...