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

@iadev93/zuno-angular

v0.0.1

Published

> The official Angular 18+ adapter for [Zuno](https://github.com/iadev93/zuno), the ultra-fast distributed state management library.

Readme

@iadev93/zuno-angular

The official Angular 18+ adapter for Zuno, the ultra-fast distributed state management library.

Zuno Logo

Features

  • 🔋 Full DI Integration: Inject ZunoService anywhere in your app.
  • 📡 Dual Reactivity: Use stores as Signals (for template performance) or Observables (for RxJS streams).
  • 🔄 Real-time Sync: Automatic state synchronization across tabs and devices.
  • ⚡️ Optimistic Updates: Immediate UI feedback with background confirmation.
  • 🛡️ Type-Safe: Strictly typed state management.

Installation

pnpm add @iadev93/zuno-angular @iadev93/zuno rxjs
# or
npm install @iadev93/zuno-angular @iadev93/zuno rxjs

Quick Start

1. Provide Zuno

In your app.config.ts (or AppModule), provide Zuno with your backend configuration.

// app.config.ts
import { ApplicationConfig } from '@angular/core';
import { provideZuno } from '@iadev93/zuno-angular';

export const appConfig: ApplicationConfig = {
  providers: [
    provideZuno({
      syncUrl: 'http://localhost:3000/zuno/sync',
      sseUrl: 'http://localhost:3000/zuno/sse',
      // Optional: batchSync: true,
      // Optional: optimistic: true
    })
  ]
};

2. Create & Use a Store

Inject ZunoService into your component and create a store. You can then consume it as a Signal or Observable.

// counter.component.ts
import { Component, inject } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ZunoService } from '@iadev93/zuno-angular';

@Component({
  selector: 'app-counter',
  standalone: true,
  imports: [CommonModule],
  template: `
    <h1>Count (Signal): {{ count() }}</h1>
    <h2>Count (Observable): {{ count$ | async }}</h2>
    
    <button (click)="inc()">Increment</button>
  `
})
export class CounterComponent {
  private zuno = inject(ZunoService);
  
  // 1. Initialize store (Pass a factory function!)
  private store = this.zuno.store('counter', () => 0);
  
  // 2. Consume as Signal (Best for templates)
  count = this.store.asSignal();
  
  // 3. Consume as Observable (Best for effects/streams)
  count$ = this.store.asObservable();
  
  inc() {
    // 4. Update state (Optimistic by default)
    this.store.set(c => c + 1);
  }
}

API Reference

ZunoService

The main service for interacting with Zuno.

store<T>(key, init, reducer?, equals?)

Creates or retrieves a store.

  • key: Unique identifier for the store.
  • init: Factory function returning the initial state () => T.
  • reducer (optional): Function to handle intent-based updates.
  • equals (optional): Custom equality function.

Returns an AngularBoundStore<T> with:

  • get(): Get current value.
  • set(next): Update value.
  • mutate(intent): Dispatch an intent.
  • asSignal(): Returns Angular Signal<T>.
  • asObservable(): Returns RxJS Observable<T>.

provideZuno(options)

Sets up the Zuno environment.

  • options: CreateZunoOptions from @iadev93/zuno.

License

MIT