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

@kiponos/angular

v0.2.0

Published

Kiponos real-time Angular/Node SDK — createFromEnv (Java parity), get/set path, after* listeners, signals

Readme

@kiponos/angular

Production install

npm install @kiponos/angular

Also on GitHub release / monorepo source under sdks/kiponos-angular-sdk.

Install

npm install @kiponos/angular
# peers: @angular/core >= 16, rxjs >= 7 (for DI/service); Node >= 18; optional: ws

Quick start (Node)

export KIPONOS_ID=…          # Connect UI
export KIPONOS_ACCESS=…
export KIPONOS="['MyApp']['1.0']['Dev']['base']"
# optional: KIPONOS_ENV_FILE=/path/to/dotenv
import { Kiponos } from '@kiponos/angular';

const kip = Kiponos.createFromEnv();
// or Java-style process singleton:
// const kip = Kiponos.createForCurrentTeam();

await kip.connect();
await kip.ensurePath('ui');
await kip.path('ui').set('theme', 'light');
console.log(kip.get('theme', undefined, 'ui'));

kip.afterValueUpdated((e) => console.log(e.key, e.value));

Angular (standalone)

// app.config.ts
import { ApplicationConfig } from '@angular/core';
import { provideKiponos } from '@kiponos/angular';
import { Kiponos } from '@kiponos/angular';

// Preferred: create client in Node, inject into Angular (SSR / BFF)
const client = Kiponos.createForCurrentTeam();
await client.connect();

export const appConfig: ApplicationConfig = {
  providers: [
    provideKiponos({ client, autoConnect: false }),
    // Node-only alternative (throws in browser):
    // provideKiponos({ fromEnv: true }),
  ],
};
// theme.component.ts
import { Component } from '@angular/core';
import { injectKiponos } from '@kiponos/angular';

@Component({
  standalone: true,
  selector: 'app-theme',
  template: `
    <span>theme={{ theme() }}</span>
    <button [disabled]="!kip.ready()" (click)="toggle()">Toggle</button>
  `,
})
export class ThemeComponent {
  readonly kip = injectKiponos();
  readonly theme = this.kip.value('ui/theme', { defaultValue: 'dark' });

  async toggle() {
    const cur = this.theme() ?? 'dark';
    await this.kip.path('ui').set('theme', cur === 'dark' ? 'light' : 'dark');
  }
}

Browser SPA pattern

Browser SPAs must not embed Connect tokens:

Browser Angular  ↔  your Node API (createFromEnv + SSE)  ↔  Kiponos hub

Pass a server-created client into provideKiponos({ client }), or mirror hub state over SSE.

Env vars

| Variable | Required | Purpose | |----------|----------|---------| | KIPONOS_ID | yes | Connect identity token | | KIPONOS_ACCESS | yes | Connect access token | | KIPONOS | recommended | Profile ['App']['rel']['env']['cfg'] | | KIPONOS_ENV_FILE | no | Dotenv path | | KIPONOS_SERVER | no | Default wss://kiponos.io/api/io-kiponos-sdk |

Not supported

  • Passing tokens into new KiponosClient({ idToken, accessToken })throws
  • Browser createFromEnvthrows (use BFF)

Java API map

| Java | Angular / TS | |------|----------------| | Kiponos.createForCurrentTeam() | Kiponos.createForCurrentTeam() | | path("a","b").set("k","v") | path("a","b").set("k","v") | | folderOrCreate("x") | path().folderOrCreate("x") | | afterValueUpdated(...) | afterValueUpdated(...) / KiponosService | | get / getInt | get / valueInt() signal |

Tests

npm test          # unit
npm run test:e2e  # live PROD via createFromEnv

Design / QA

License

MIT