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/app

v0.5.4

Published

i3X CLI -- expose OPC UA servers as i3X REST APIs

Downloads

1,652

Readme

@node-i3x/app

Expose any OPC UA server as an i3X REST API -- one command.

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

Quick Start

npx @node-i3x/app -e opc.tcp://my-plc:4840

That's it. The i3X REST API is now available at http://localhost:8080.

Installation

npm install -g @node-i3x/app

Or use directly with npx (no install needed).

CLI Options

Usage: i3x [options]

Expose OPC UA servers as i3X REST APIs

Options:
  -V, --version                      Show version
  -e, --endpoint <url>               OPC UA endpoint URL
  -p, --port <port>                  REST API port (default: 8080)
  -H, --host <host>                  REST API bind address (default: 0.0.0.0)
  --security-mode <mode>             OPC UA security mode (default: None)
  --optimized-client <mode>          Optimized client: auto | disabled
  --subscription-interval <seconds>  Subscription interval in seconds
  --log-level <level>                debug | info | warn | error
  --no-model-preload                 Skip model preload on startup
  -c, --config <path>                Path to config file
  -h, --help                         Show help

Configuration

i3X uses layered configuration. Each layer overrides the previous:

1. Built-in defaults
2. Config file (i3x.config.yml)
3. Environment variables (I3X_*)
4. CLI arguments (--endpoint, --port, ...)

Config File

Create an i3x.config.yml in your project root:

# i3x.config.yml
endpoint: opc.tcp://192.168.1.100:4840
port: 8080
host: 0.0.0.0
logLevel: info
subscriptionInterval: 5
modelPreload: true

Supported file names (auto-discovered):

| File | Format | |---|---| | i3x.config.yml | YAML | | i3x.config.yaml | YAML | | i3x.config.json | JSON | | .i3xrc | JSON | | .i3xrc.json | JSON | | .i3xrc.yml | YAML | | package.json ("i3x" key) | JSON |

Environment Variables

All environment variables are prefixed with I3X_:

| Variable | Config key | Default | |---|---|---| | I3X_OPCUA_ENDPOINT | endpoint | opc.tcp://localhost:4840 | | I3X_PORT | port | 8080 | | I3X_HOST | host | 0.0.0.0 | | I3X_OPCUA_SECURITY_MODE | securityMode | None | | I3X_OPCUA_OPTIMIZED_CLIENT | optimizedClient | auto | | I3X_SUBSCRIPTION_INTERVAL_SECONDS | subscriptionInterval | 5 | | I3X_LOG_LEVEL | logLevel | info | | I3X_MODEL_PRELOAD_ON_STARTUP | modelPreload | true |

Programmatic Usage

import { resolveConfig, startServer } from '@node-i3x/app';

const config = await resolveConfig({
  endpoint: 'opc.tcp://my-plc:4840',
  port: 9090,
});

await startServer(config, '1.0.0');

How It Works

  Your OPC UA Server           i3X (@node-i3x/app)
  +-----------------+          +---------------------------+
  | AddressSpace    |  <-----> | OpcUaDataSourceAdapter    |
  | (PLCs, sensors) | opc.tcp  | ModelService              |
  +-----------------+          | ValueService              |
                               | HistoryService            |
                               | SubscriptionService       |
                               |                           |
                               | i3X REST API (Fastify)    |
                               +----------+----------------+
                                          |
                                   http://0.0.0.0:8080
                                          |
                               +----------v----------------+
                               | Your Web App / Dashboard  |
                               +---------------------------+

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.