0.1.5 • Published 7 months ago

htmx-ext v0.1.5

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

htmx-ext

Collection of useful htmx extensions

Getting Started

Installation

Via CDN (e.g. unpkg.com)

The fastest way to get going is by loading each extension you want to use into your head tag like so:

<script src="https://unpkg.com/htmx-ext/dist/body-support.js"></script>

Via npm

For npm-style build systems, you can install htmx-ext via npm:

npm install -D htmx-ext

Included Extensions

ExtensionDescription
body-supportWhen using hx-boost on the <body> tag it doesn't update the body attributes. body-support does.
csrf-tokenThis configures the x-csrf-token header in requests based on the <meta name="csrf-token" /> contents
boost-errorsThis allows boosted pages to return 500, 400, 401, 403 and 404 errors instead of just console logging your error and stopping from there.
0.1.2

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.5

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago