The htmx.version property contains the current htmx version string (read-only).
Example
console.log(htmx.version); // "4.0.0-alpha3"
Current htmx version (read-only)
The htmx.version property contains the current htmx version string (read-only).
console.log(htmx.version); // "4.0.0-alpha3"