htmx 4.0 is under construction — migration guide

htmx.config.version

Current htmx version (read-only)

The htmx.config.version property contains the current htmx version string.

This is a read-only value set by htmx.

Example

console.log(htmx.config.version); // "4.0.0-alpha3"