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

tindom

v0.1.0

Published

A tiny DOM‑first web framework with modular architecture and lightweight reactivity.

Readme

tindom

A minimalist framework for web applications. Built with a modular architecture - everything in one package, but you use only what you need.

Note: All 0.x.x versions are experimental.

Installation

npm install tindom
# or
bun install tindom

Quick Start

Using Signals and Watchers

import { signal, watch } from 'tindom/signal';

// Create a reactive value
const count = signal(0);

// Create a computed value that updates automatically
const doubled = watch(() => count() * 2);

// Update the signal
count(5);
console.log(doubled()); // 10

// Watch for changes
watch(() => count(), (newValue) => {
  console.log('Count changed to:', newValue);
});

API

signal<T>(value?: T): Signal<T>

Creates a reactive state container that notifies watchers when the value changes.

Parameters:

  • value (optional): Initial value of the signal

Returns:

  • A callable signal - call with no arguments to read, call with a value to update

Example:

const count = signal(0);
console.log(count()); // read: 0
count(5);             // write: 5

watch<T>(fn: () => T, callback?: (value: T) => void): Watch<T>

Tracks reactive dependencies and reruns a function when sources change. Optionally invokes a callback on updates.

Parameters:

  • fn: Function that returns a value. Dependencies are automatically tracked when signals are accessed.
  • callback (optional): Function called with the new value whenever the watched value changes

Returns:

  • A callable watch - call with no arguments to read the current value

Example:

const a = signal(2);
const b = signal(3);

// Computed value
const sum = watch(() => a() + b());
console.log(sum()); // 5

// With callback
watch(
  () => a() + b(),
  (newSum) => console.log('Sum is now:', newSum)
);

a(10); // Triggers callback: "Sum is now: 13"

Planned Features

  • tindom/dom - DOM generation without virtual DOM
  • tindom/reactive - Support for reactive objects
  • tindom/ui - Predefined UI components (form, dialog, etc.)
  • tindom/router - Route-based application rendering

License

MIT


Project logic written by humans. AI is used only for code review, test generation, and documentation improvements.