# @markuplint/htmx-parser

> HTMX parser for markuplint

Latest version **4.18.3** (published 2026-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @markuplint/htmx-parser
pnpm add @markuplint/htmx-parser
yarn add @markuplint/htmx-parser
bun add @markuplint/htmx-parser
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.18.3 |
| Published | 2026-05-10 |
| First published | 2024-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 26.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 624 |
| Author | Yusuke Hirao |
| Maintainers | yusukehirao |

## Links

- npm: https://www.npmjs.com/package/@markuplint/htmx-parser
- Repository: https://github.com/markuplint/markuplint
- Homepage: https://github.com/markuplint/markuplint#readme
- Issues: https://github.com/markuplint/markuplint/issues
- npm.io page: https://npm.io/package/@markuplint/htmx-parser

## Dependencies (1)

- [@markuplint/html-parser](https://npm.io/package/@markuplint/html-parser.md) 4.18.3

## Recent versions

- 4.18.3 (latest) — 2026-05-10
- 4.0.17-dev.110 (canary) — 2025-04-13
- 4.0.2-alpha.1 (next) — 2024-06-02
- 4.18.0 — 2026-04-22
- 4.0.21 — 2026-02-10
- 4.0.20 — 2025-11-05
- 4.0.19 — 2025-08-24
- 4.0.18 — 2025-08-13
- 4.0.17 — 2025-04-13
- 4.0.16 — 2025-03-09
- 4.0.15 — 2025-02-27
- 4.0.14 — 2025-02-11
- 4.0.13 — 2025-02-04
- 4.0.12 — 2024-12-04
- 4.0.11 — 2024-11-17
- … 12 more at https://npm.io/package/@markuplint/htmx-parser/versions

## README

# @markuplint/htmx-parser

[![npm version](https://badge.fury.io/js/%40markuplint%2Fhtmx-parser.svg)](https://www.npmjs.com/package/@markuplint/htmx-parser)

Use **markuplint** with [**HTMX**](https://htmx.org/).
Add HTMX specific elements and attributes to the schema.

## Install

```shell
$ npm install -D @markuplint/htmx-parser

$ yarn add -D @markuplint/htmx-parser
```

## Usage

Add `parser` and `spec` option to your [configuration](https://markuplint.dev/configuration/#properties/parser).

```json
{
  "parser": {
    "\\.html$": "@markuplint/htmx-parser"
  },
  "specs": {
    "\\.html$": "@markuplint/htmx-parser/spec"
  }
}
```

---
_Source: https://npm.io/package/@markuplint/htmx-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
