Build OPC UA applications in JavaScript and NodeJS

NodeOPCUA is a OPC UA stack fully written in javascript and NodeJS.

100% Asynchronous

NodeOPCUA takes advantage of the asynchronous nature of node.js, creating highly responsive applications.
var opcua = require("node-opcua");
var server = new opcua.Server({});
server.listen(function(){
...
});

High Quality

NodeOPCUA has been developed using TDD and benefits from more than 1200 unit tests and 96% code coverage. NodeOPCUA uses Travis as a continuous integration service. Coverage Status

Free, as in Speech

NodeOPCUA is free for commercial use. Check out the license.

Fork my source code

NodeOPCUA is available on GitHub . Check out the source code .

Create your own server

Easily create your own OPCUA Server in less than 100 lines of code.

Runs under Linux , Mac and Windows

NodeOPCUA runs on all the platforms that nodeJS supports.

Perfect on RaspberryPI

Create your own OPCUA Server on a RaspberryPI with your preferred I/O sensors. More to come on this very soon, stay in touch.

Live documentation

NodeOPCUA will benefit from a comprehensive SDK API documentation , numerous end-to-end functional tests, and a set of practical examples to help you learn how to use it.

Node OPCUA needs you

Node OPCUA is welcoming volunteers to help improving the code, the documentation. Contact us

Creating a simple Server

check this example to see an simple OPCUA server that exposes 3 simple variables.

View Code Read Tutorial

Creating a simple Client

check this example to see an simple OPCUA client that attempts to connect to a OPCUA server, print the end point and browse some variables.

View Code Read Tutorial

Creating a virtual Weather Station OPC/UA Server

In this tutorial, we will use a REST API to access free weather data from cities around the world and expose them though a OPC/UA server.

Read tutorial

Creating a HTML Dashboard to monitor a

check this example to see an simple OPCUA client that attempts to connect to a OPCUA server, print the end point and browse some variables.

View Code Read Tutorial
Fork me on GitHub

Submit an issue or a suggestion

submit any issue here.

Fork and contribute

If you find an issue in the documentation or in the code, you can fork and send a pull request to the master branch.

The project repositories

node-opcua
  • Status updating...

Follow us