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

@procaaso/procaaso-views-client

v1.2.4

Published

Procaaso Library to use with Views Development

Readme

@procaaso/procaaso-views-client

Client library for integrating ProCaaSo real-time attribute streaming and control into React-based Views.

Prerequisites

  • Node.js (v16+)
  • npm

Install dependencies

npm install

Build

Compiles TypeScript source from src/ into dist/:

npm run build

Running tests

Tests use Jest with ts-jest and a jsdom environment so DOM APIs like EventSource are available without a browser.

Run the full suite

npm test

Run with detailed output

npm run test:verbose

Run a specific test file

Pass the filename (or a pattern that matches it) after --:

npm test -- Component.test.ts
npm test -- createAttributeStream
npm test -- ProcaasoClient

Watch mode (re-runs on file changes)

npm run test:watch

What the tests cover

Tests live in src/js/tests/. Current test files:

| File | What it verifies | |---|---| | SmokeTest.test.ts | Basic sanity check that the test runner works | | Component.test.ts | Component class — tree construction, getters/setters, error cases | | MutationStructure.test.ts | MutationHandle shape, serialisation, getter consistency | | ProcaasoClient.test.ts | Client lifecycle, setAttributeStream, setMultiAttributeStream, mutations, re-exported helpers | | createAttributeStream.test.ts | SSE URL patterns for single and multi-attribute streams, handle behaviour, auth headers |

Tunnelling to a live environment

To run integration-level checks against a real ProCaaSo edge cluster, open a tunnel first:

syndi -p <profile> tunnel <SYSTEM_ID> \
  --dest 5060/paracloud-edge-sidecar.paracloud.svc.cluster.local:5060 \
  --dest 4040/paracloud-edge-structure.paracloud.svc.cluster.local:4040 \
  --dest 5050/paracloud-edge-control.paracloud.svc.cluster.local:5050 \
  --dest 6062/paracloud-edge-stream-v2.paracloud.svc.cluster.local:6062

Replace <profile> and <SYSTEM_ID> with your target environment values.

Publishing

Often, while working in the procaaso space, we have specically configured permissions. To correctly publish this package, run the following commands:

npm login --registry=https://registry.npmjs.org/
npm whoami --registry=https://registry.npmjs.org/
npm publish --registry=https://registry.npmjs.org/

Future Plans

  • Look into backend providing a more concrete backend solution.
    • Per Brandon: Think of a solution involving passing a naming scheme closer to the ENS, with a component-instrument-attribute schema, over working on attribute IDs. The processing can be done on the backend instead of on the client side
    • I like the structure of the StuctSchema, something like that, but where it passes attr Ids might be better.