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

dominity

v6.4.6

Published

minimalistic javascript framework

Readme

DominityBanner

npm Version   npm Downloads  

dominity is a minimalist frontend framework to make data heavy single page applications(SPA) which feels snappy and fast. It is performant and lightweight and needs no build step making development of SPA's effortless

dominity has everything what you need from a powerful clientside router to a state Mangement solution. and as cherry on top many plugins to extend its functionality formvalidation , tables and more

features

  • simple and intutive api
  • you dont need a buildstep
  • lightweight
  • reactive with signals
  • no virtual dom
  • no uncecessary naming conventions
  • builtin clientside routing
  • builtin state management

view docs Dominity Counter Example

import {button,state,derived} from "dominity"

function counter() {
  const count = state(0);
  const doubleCount = derived(() => count.value * 2);
  

  return button("count is :",doubleCount).on("click",()=>{
    count.value++
  })
}

Counter().addTo(document.body);

getting started

use directly via cdn or install form npm

import d from "https://esm.sh/dominity

or

npm i dominity

recommened to use vite with dominity

building ui with dominity

instead of making html tags , dominity provides functions to create elements , functions are more flexible as they can be rerun multiple times and you can add any sort of logic to them nesting functions allows you to create complex uis

<main>
  <h1>hello world</h1>
  <button id="btn">click me</button>
</main>

<script>
  document.querySelector("#btn").addEventListener("click",()=>{
    alert("hello world")
  })
</script>
import {h1,button,main} from "dominity"

let app=main(
  h1("hello world"),
  button("click me").on("click",()=>{
    alert("hello world")
  })
)

app.addTo(document.body)

this makes for easier ui layouts where the form and function are closely coupled together with semantics

read more at docs

contribution guide

  1. Fork the repository
  2. Clone the forked repository
  3. Install dependencies
  4. the sorce code is in src folder , you can see the z_old_dominity.js file to gain an idea of how the code looks , the library is split into multiple files so work on the part u need one at a time
  5. test out the changes at playground (live test environment ,use test.js) cd there and and run dev
  6. submit a pull request
  7. will be checked and merged