Socket for GitHub
Detect suspicious packages in PRs
Socket CLI
Use Socket from the command line
Socket Dependency Search
Find any package for your project
Docs
Want to read all the docs? Start here
Blog
Keep up to date with all the news
Customers
Check out our customer stories
Packages
npm
Comaintainers
30 packages
Order
Sort by
htmx-ext-ajax-header
This extension adds the `X-Requested-With` header to requests with the value "XMLHttpRequest".
htmx-ext-alpine-morph
Alpine.js now has a lightweight [morph plugin](https://alpinejs.dev/plugins/morph) and this extension allows you to use it as the swapping mechanism in htmx which is necessary to retain Alpine state when you have entire Alpine components swapped by htmx.
htmx-ext-bad-extension
htmx-ext-class-tools
The `class-tools` extension allows you to specify CSS classes that will be swapped onto or off of the elements by using a `classes` or `data-classes` attribute. This functionality allows you to apply [CSS Transitions](https://developer.mozilla.org/en-US
htmx-ext-client-side-templates
This extension supports transforming a JSON/XML request response into HTML via a client-side template before it is swapped into the DOM. Currently four client-side templating engines are supported:
htmx-ext-debug
This extension includes log all htmx events for the element it is on, either through the `console.debug` function or through the `console.log` function with a `DEBUG:` prefix.
htmx-ext-disable-element
**NOTE: This extensions functionality has been folded into the core of htmx via the `hx-disabled-elt` attribute**
htmx-ext-event-header
This extension adds the `Triggering-Event` header to requests. The value of the header is a JSON serialized version of the event that triggered the request.
htmx-ext-head-support
+++ title = "head-support" +++
htmx-ext-htmx-1-compat
The `htmx-1-compat` extension allows you to almost seamlessly upgrade from htmx 1.x to htmx 2.