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

@node-i3x/demo-embedded

v0.5.4

Published

End-to-end demo: OPC UA server + i3X REST API wired via PseudoSession

Readme

@node-i3x/demo-embedded

See i3X in action -- OPC UA + REST API in 30 seconds.

Node.js >=20 TypeScript License: AGPL-3.0-or-later OR Commercial Built by Sterfive

Quick Start

npx @node-i3x/demo-embedded

That's it. In ~5 seconds you get:

  • An OPC UA server with a simulated Smart Factory (Pump, Heater, Conveyor)
  • i3X REST API at http://localhost:8080
  • Live-updating simulated sensor values

Try the API

# Health check
curl http://localhost:8080/health

# Server info
curl http://localhost:8080/v1/info

# List namespaces  
curl http://localhost:8080/v1/namespaces

# Browse objects
curl -X POST http://localhost:8080/v1/objects/list

Live Dashboard

In a second terminal, launch the ANSI dashboard client:

npx @node-i3x/demo-embedded --client

Or point it at any running i3X server:

npx @node-i3x/demo-embedded --client --url http://my-server:8080

(Note: the --client flag is for future use; for now run the client separately with npx tsx src/client.ts)

Options

| Option | Default | Description | |---|---|---| | --rest-port <port> | 8080 | REST API port | | --opcua-port <port> | 48410 | OPC UA server port | | -h, --help | | Show help |

What's Inside

The demo creates a simulated Smart Factory with three assets:

| Asset | Variables | Update Rate | |---|---|---| | Main Coolant Pump | Temperature, Pressure, FlowRate, Running | 800ms | | Process Heater | Temperature, HeaterOn, Setpoint, Power | 1000ms | | Assembly Conveyor | Speed, ItemCount | 1200ms |

Values drift realistically -- temperature rises, pressure fluctuates, the heater toggles every 15 seconds.

How It Works

This demo uses @node-i3x/pseudo-session-connector to wire the i3X domain services directly to the OPC UA AddressSpace in memory. No network roundtrip -- microsecond latency.

See the Embedding Tutorial for a step-by-step guide.

License

Dual-licensed:

  • AGPL-3.0-or-later -- you may use, modify, and distribute this software freely, provided that all derivative works and network-accessible deployments also make their complete source code available under the AGPL.
  • Sterfive Commercial License -- allows proprietary and closed-source use without copyleft obligations.

See LICENSING.md for details, or contact Sterfive for commercial licensing.