lax – collection of fast formatters

lax is a collection of fast formatters that only adjust whitespace and leave everything else exactly as written.

It supports CSS, SCSS, Less, SQL, HTML, XML, SVG, Vue, Svelte, Astro, and other markup formats. The formatters use lossless tokenization and can be used as Rust libraries or dprint plugins.

This is free and open source software.

Key Features

  • Only modifies whitespace
  • Lossless tokenization preserves code
  • Handles unknown syntax and vendor extensions
  • Supports CSS, SCSS, and Less
  • Dialect-agnostic SQL formatting
  • Formats HTML, XML, SVG, Vue, Svelte, and Astro
  • Idempotent formatting produces stable output
  • Single-pass printing
  • Available as Rust libraries
  • dprint plugin support
  • Plugins published to npm

Website: github.com/bartlomieju/lax
Support:
Developer: Bartłomiej Iwańczuk
License: MIT License

lax is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

CSS Code Formatters
PrettierOpinionated code formatter
Oxfmt Tools for JavaScript and TypeScript
CSScombCoding style formatter for CSS
UnCSSRemoves unused CSS from stylesheets
MalvaFast formatter for CSS, SCSS, Sass and Less
laxCollection of fast formatters
csscssCSS redundancy analyzer

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted