The htmx.version property contains the current htmx version string (read-only).

Example

console.log(htmx.version)