haml-formatter
JSON →A pure JavaScript/TypeScript formatter for HAML templates that automatically indents and structures HAML code. Version 0.1.0, released in 2019, with no recent updates. It offers a single function FormatHaml with options for tab size and spaces vs tabs. Lightweight and simple, it differs from Ruby-based formatters by being usable in Node.js without Ruby dependencies. Suitable for linting and formatting HAML files in build pipelines or editors.
Resources
packagehaml-formatter ↗