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

@pulse-js/core

v0.3.1

Published

A semantic reactivity system for modern applications. Separate reactive data (sources) from business conditions (guards) with a declarative, composable, and observable approach.

Readme

Pulse-JS

npm version

A semantic reactivity system for modern applications. Separate reactive state (pulse) from business conditions (guards) with a declarative, composable, and proxied approach.

Official Documentation

Pulse differs from traditional signals or state managers by treating Conditions as first-class citizens. Instead of embedding complex boolean logic inside components, you define Semantic Guards that are observed, composed, and debugged independently.

Installation

bun add @pulse-js/core @pulse-js/tools

Core Concepts

Pulse Objects (Universal Reactivity)

pulse() creates a deep reactive Proxy. Use it for complex objects and arrays. Track property access automatically and mutate state directly.

import { pulse } from "@pulse-js/core";

const user = pulse({
  name: "Alice",
  role: "admin",
  increment() {
    this.stats.clicks++;
  },
  stats: { clicks: 0 },
});

// Mutate directly - it's reactive!
user.name = "Bob";
user.increment();

Sources (Primitive Records)

Sources are primitive containers for your application state. They hold values and notify dependents when those values change.

import { source } from "@pulse-js/core";
const count = source(0);
count.set(5);

Guards (Semantic Logic)

Guards represent business rules or derivations. They act as high-performance Selectors with built-in dependency tracking and rich failure context.

import { guard } from "@pulse-js/core";

const isAuthorized = guard("auth-check", async () => {
  const u = user();
  if (!u) return false;
  return true;
});

Explanable Guards

Get a structured tree of the current status, failure reasons, and the status of all direct dependencies.

const explanation = canCheckout.explain();
// { status: 'fail', reason: { code: 'AUTH', message: '...' }, dependencies: [...] }

Framework Integrations

Pulse provides official adapters for all major frameworks.

| Framework | Package | Status | | :----------- | :------------------- | :----- | | Astro | @pulse-js/astro | NEW | | React | @pulse-js/react | Stable | | Vue | @pulse-js/vue | Stable | | Svelte | @pulse-js/svelte | Stable | | TanStack | @pulse-js/tanstack | NEW |

Developer Tools

Debug your reactive graph with Pulse Tools, a decoupled Agent-Client inspector.

  • Agent-Client Architecture: Isolated UI that doesn't restart your app.
  • Dependency Graph: Visualize how your guards are connected.
  • Glassmorphism UI: A premium, draggable development experience.
  • Zero Config: Works out of the box with @pulse-js/tools.