npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

htmxxx

v1.0.0

Published

high power, explicit tools for HTML - htmx's naughty alter ego

Readme

HTMXXX

HTMXXX

high power, explicit tools for HTML

Discord Netlify Bundlephobia Bundlephobia

introduction

HTMXXX is htmx's naughty alter ego—an explicit extension that lets you access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, but with flirtatious attributes that add spice to your code. Build modern UIs with the simplicity and power of hypertext, but with a more explicit commands.

HTMXXX is small (~14k min.gz'd when bundled with htmx), dependency-free, and 100% drop-in compatible—your existing hx-* attributes work unchanged. Just add the fun ones for extra giggles in the console.

motivation

  • Why settle for boring hx-get when you can hx-flirt?
  • Why plain hx-post when hx-penetrate goes deeper?
  • Why not add some foreplay, climax, and afterglow to your requests?
  • Why should your AJAX be vanilla when it can be... explicit?

By removing the prude constraints and adding punny, explicit attributes, HTMXXX completes HTML as a hypertext with a naughty twist. It's htmx with extra thrust—perfect for sexy code reviews and spicing up dynamic UIs.

quick start

First, include htmx:

<script src="https://unpkg.com/[email protected]"></script>

Then, include HTMXXX:

<script src="https://unpkg.com/htmxxx/dist/htmxxx.min.js"></script>

Process your page: htmx.process(document.body);

Now, have a button flirt via AJAX:

<button hx-flirt="/flirted" hx-gspot="outerHTML">
  Flirt With Me
</button>

The hx-flirt and hx-gspot attributes tell HTMXXX (and htmx underneath):

"When a user clicks this button, issue a flirty GET request to /flirted, hit the sweet spot by replacing the entire button with the response, and log some spicy console fun!"

HTMXXX maps to standard htmx behavior but with explicit names and humorous logs. It's the successor to... well, a late-night coding joke that got out of hand.

installing as a node package

To install using npm:

npm install htmxxx --save

Note: This is the official HTMXXX package. No broken aliases here—just pure spice.

website & docs

contributing

Want to contribute? Add more puns, fix bugs, or extend the troll factor! Check out our contribution guidelines.

No time? Then become a sponsor for the original htmx (and maybe this too).

hacking guide

To develop HTMXXX locally, install dependencies:

npm install

Run a web server in the root:

npx serve

Navigate to http://0.0.0.0:3000/test/ to run tests.

Modify /src/htmx.js or add to the extension in /dist/ext/htmxxx.js, then add tests under /test.

HTMXXX uses the same testing setup as htmx: mocha, chai, and sinon.

haiku

javascript fatigue: longing for hypertext with explicit hand