lax-markup
| Install | |
|---|---|
npm install lax-markup |
|
| Latest Version: | 0.3.2 |
| License: | MIT |
| Last Updated: | Aug 3, 2026 |
| Links: | GitHub · npm |
lax-markup
Lax HTML, XML, SVG, and component (Vue, Svelte, Astro) formatter that never reinterprets your markup, distributed as a dprint Wasm plugin.
This package ships the plugin's plugin.wasm so you can manage it with your
package manager (and tools like Renovate) instead of a pinned URL.
Usage
Install the package:
npm install --save-dev lax-markup
Reference the bundled Wasm file from your dprint.json:
{
"plugins": [
"./node_modules/lax-markup/plugin.wasm"
]
}
Then run dprint as usual:
dprint fmt
Matches .html, .htm, .vue, .svelte, .astro, .xml, and .svg files.
Source
Built from crates/lax-markup in the
bartlomieju/lax monorepo. The published package includes
npm provenance
attesting it was built and published from that repository.
License
MIT
Related Packages
Inline SVG rendering for React, React Native, Vue, Svelte, Solid, Astro, and Ang...
An experimental ESLint custom parser for Vue, Svelte, and Astro for use with Typ...
Version History
| Version | Released | License |
|---|---|---|
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.4 | MIT |