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

signalforge

v1.0.2

Published

Fine-grained reactive state management with automatic dependency tracking - Ultra-optimized, zero dependencies

Readme

SignalForge

SignalForge logo

Fine-Grained Reactive State Management for Modern JavaScript

npm version License: MIT Bundle Size TypeScript

🚀 Quick Start🌐 Live Demo📖 Docs📱 Examples


🎯 What is SignalForge?

The simplest state management library for React and React Native.
Your UI automatically updates when data changes. Zero Redux complexity. Zero boilerplate.

💡 Think of it as Smart Variables

const count = createSignal(0);         // ✨ Create a signal
count.set(5);                          // 🔄 Update it
count.get();                           // 📖 Read it: 5

// 🧮 Computed values update automatically
const doubled = createComputed(() => count.get() * 2);
console.log(doubled.get());            // 10

✨ Why Developers Love SignalForge

🎓 Easy to Learn

Only 3 core functions:

createSignal(value)         // 📦 Store data
createComputed(() => ...)   // 🧮 Auto-calculate  
createEffect(() => ...)     // ⚡ React to changes

🌍 Works Everywhere

  • ✅ React (hooks + classes)
  • ✅ React Native (iOS + Android)
  • ✅ Next.js (SSR ready)
  • ✅ Plain JavaScript

🚀 Blazing Fast

  • 🪶 2KB total bundle
  • 33x faster batched updates
  • 📊 Handles 10,000+ signals

🔋 Batteries Included

  • 💾 Auto-save to storage
  • 🛠️ DevTools for debugging
  • ⏱️ Time travel (undo/redo)
  • 📦 Zero dependencies

🚀 Quick Start

Installation

npm install signalforge

Your First Signal

import { useSignal } from 'signalforge/react';

function Counter() {
  const [count, setCount] = useSignal(0);
  
  return (
    <button onClick={() => setCount(count + 1)}>
      🎉 Clicked {count} times
    </button>
  );
}

That's it! 🎯 No providers, no context, no configuration needed.


🌟 Live Examples

Try It Right Now!

🌐 Web Demo

Web Demo

19 Interactive Demos

  • 🔥 Compare with Redux/Zustand
  • ⚡ Real-time performance metrics
  • 📊 Side-by-side code examples
  • 🎯 Shopping cart, forms & more

→ Open Live Demo

Note: Source code for web demos is not included in the repository. Try the live demo to see SignalForge in action!

📱 React Native Demo

React Native

19 Interactive Screens

  • 🛒 Shopping cart with persistence
  • 📝 Forms with validation
  • 🔄 Cross-screen state sync
  • 💾 AsyncStorage integration

→ Clone & Run

📱 React Native Quick Run

git clone https://github.com/forgecommunity/signalforge.git
cd signalforge && npm install && npm run build
cd examples/sfReactNative && npm install && npm start

# In another terminal:
npm run android  # or npm run ios

📊 Performance Benchmarks

🏆 Built for Speed & Size

🪶 Tiny Bundle

2KB gzipped
0.5KB core only
0 dependencies

Lightning Fast

< 1ns signal reads
~10ns signal writes
33x faster batched updates

📈 Scales Up

10,000+ signals
< 100ns computed overhead
Minimal memory footprint

🥊 Head-to-Head Comparison

| Library | Bundle Size | Update Speed | Boilerplate | Learning Curve | |---------|-------------|--------------|-------------|----------------| | SignalForge 🏆 | 2KB | 33x faster ⚡ | 3 lines ✨ | 🟢 Easy | | Redux | 12.2KB | Baseline | 50+ lines | 🔴 Hard | | Zustand | 3.2KB | Similar | 10-15 lines | 🟡 Medium | | Recoil | 21KB | Slower | 20+ lines | 🔴 Hard | | MobX | 16KB | Fast | 15+ lines | 🟡 Medium |

🔬 Run Benchmarks Yourself

npm install
npm run benchmark
# 📁 Results saved to benchmarks/results/

Try the live benchmark in our web demo to see the difference! 🎯


📚 Documentation

🎓 Learning Resources

💻 Example Projects


🤝 Get Help & Contribute

💬 Need Help?

Documentation Issues Discussions

🚀 Want to Contribute?

Contributors PRs Welcome


📄 License

MIT © ForgeCommunity


Star us on GitHub!

GitHub stars

Built by ForgeCommunity

🌐 Website📦 npm💻 GitHub📖 Docs