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

solarite

v0.7.1

Published

Solarite is a small (12KB min+gzip), fast, compilation-free JavaScript library that makes native web components fast to update, patching only the DOM that actually changed when you call render().

Readme

Solarite

Solarite makes native web components fast to update, with no build step and no signals. You write plain JavaScript and call render() when your data changes; Solarite then patches only the DOM that actually changed. It's tiny (12KB min+gzip) and runs straight in the browser as a standard ES module.

Documentation & live examples →

Install

npm install solarite

Or use it with no build step at all, straight from a CDN:

import h, {Solarite} from
  'https://cdn.jsdelivr.net/npm/[email protected]/dist/Solarite.min.js';

Example

import h, {Solarite} from 'solarite';

class Counter extends Solarite {
  count = 0;

  render() {
    h(this)`
      <my-counter>
        <button onclick=${() => { this.count++; this.render() }}>
          Clicked ${this.count} times
        </button>
      </my-counter>`;
  }
}
Counter.define('my-counter');
document.body.append(new Counter());

Why Solarite?

It's one of the fastest UI libraries measured: a score of 1.08 on the js-framework-benchmark — about 8% slower than hand-written vanilla JavaScript — while staying tiny and build-free.

Compared to Lit

Lit is the best-known way to build web components. Here's where Solarite differs:

  • Scoped CSS without Shadow DOM. Solarite scopes each component's <style> in the light DOM, so global stylesheets, form participation, and third-party CSS still reach your elements. There's no Shadow DOM boundary to work around.
  • No reactivity system to learn. No signals, no @property decorators, no reactive controllers. Mutate plain JavaScript objects and arrays of any depth, then call render(). Updates happen exactly when you ask for them.
  • Truly build-free. Ship the ES module as-is. Optional JSX plugins exist for Babel, esbuild, and Vite, but nothing requires a compiler.
  • Closer to vanilla speed. Solarite sits near the top of the benchmark, ahead of most signal-based and virtual-DOM libraries.

The trade-off is deliberate: Solarite re-renders when you call render() rather than tracking dependencies automatically. Explicit updates, no hidden reactivity — a design choice, not a missing feature.

License

MIT — free for commercial use, no attribution required.