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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@crosshj/html-next

v0.0.31

Published

A modern, declarative web component framework with reactive state management, conditional rendering, data visualization, and server-side fragment loading. Built for building interactive UIs without heavy frameworks.

Readme

HTMLNext

Imagine something like React + Material-UI without painful setup, build systems, or complexity. Just HTML, CSS, and ~42kB JS.

Build interactive apps with custom elements and reactive state using web standards browsers already support.

Features

  • 🎨 HTML/CSS First - No JSX, no build step, just web standards
  • 🔄 Reactive State - UI updates automatically when data changes
  • 🧩 Custom Elements - Reusable components that work like native HTML
  • Minimal Dependencies - Just include files and start coding
  • 🚀 Small Footprint - Complete framework in ~42kB JS + ~8kB CSS (gzipped)

Quick Start

Copy this code into an html file and open it in your browser.

<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@crosshj/html-next@latest/dist/htmlNext.css" />
	</head>

	<style>
		/* basic override of theme colors */
		:root body {
			--palettePrimaryMain: #007bff;
			--palettePrimaryLight: #66b3ff;
			--palettePrimaryDark: #0056b3;
		}
		body {
			padding-top: 4em;
			height: 100vh;
			width: 100vw;
		}
		.loading { visibility: hidden; }
		.flex-row-gap-1 { display: flex; gap: 1em; }
		.flex-column-gap-1 { display: flex; flex-direction: column; gap: 1em; }
		.align-center { align-items: center; }
		.justify-center { justify-content: center; }
		x-fragment pre { margin: 0; min-width: 5em; }
	</style>

	<body class="loading flex-column-gap-1 align-center">
		<x-data name="count" defaultValue="0"></x-data>

		<script data-key="increment" type="application/flow">
			SetState('count', ++state.count);
		</script>

		<script data-key="decrement" type="application/flow">
			SetState('count', --state.count);
		</script>

		<x-typography variant="h1">Count Demo</x-typography>
		<x-box class="flex-row-gap-1">
			<x-button handler="decrement" icon="fa-minus" sx:height="100%"></x-button>
			<x-fragment contents="global_count" class="flex-row-gap-1 justify-center"></x-fragment>
			<x-button handler="increment" icon="fa-plus" sx:height="100%"></x-button>
		</x-box>

		<script type="module">
			import { initializeFramework } from 'https://cdn.jsdelivr.net/npm/@crosshj/html-next@latest/dist/htmlNext.min.js';
			initializeFramework();
			document.body.classList.remove('loading');
		</script>
	</body>
</html>

Development

If you want to see a fairly involved example, pull the repo and run locally.

git clone https://github.com/crosshj/html-next.git
cd html-next
npm install
npm run dev
# see /demo/index.html

License

MIT

Repository

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.