Hi Andrea

On 2024-09-07 23:07, Andrea Pappacoda wrote:
On Sat Sep 7, 2024 at 9:51 PM CEST, Jonathan Carter wrote:
* Package name    : libjs-htmx

Should the source package be called htmx.js or libjs-htmx? According to
<https://wiki.debian.org/Javascript/Policy>, browser only libraries
should be called libjs-htmx, but since version 2.0.0 an ECMAScript
Module is provided too.

I went with libjs-htmx, it's now in unstable.

This installs the htmx binary to:
/usr/share/javascript/htmx/htmx.min.js.gz

I'm not an expert when it comes to JavaScript (and that's in part why
I like htmx), and know even less about JavaScript policies in Debian.
But, wouldn't installing a gzipped file create issues? Can I directly
include it into a browser?

Yes, browsers support gz decompression, and the decompression doesn't cause any noticeable overhead.

-Jonathan

Reply via email to