Gathering detailed insights and metrics for node-opcua-samples
Gathering detailed insights and metrics for node-opcua-samples
Gathering detailed insights and metrics for node-opcua-samples
Gathering detailed insights and metrics for node-opcua-samples
Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/
npm install node-opcua-samples
Typescript
Module System
Node Version
NPM Version
55.6
Supply Chain
49.2
Quality
86.6
Maintenance
100
Vulnerability
97.6
License
TypeScript (84.75%)
JavaScript (15.09%)
XSLT (0.04%)
Shell (0.04%)
C# (0.04%)
Batchfile (0.02%)
Makefile (0.01%)
Dockerfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,549 Stars
4,608 Commits
495 Forks
84 Watchers
18 Branches
73 Contributors
Updated on Jul 11, 2025
Latest Version
2.156.0
Package Id
node-opcua-samples@2.156.0
Unpacked Size
158.74 kB
Size
32.32 kB
File Count
38
NPM Version
lerna/8.2.2/node@v22.15.0+x64 (linux)
Node Version
22.15.0
Published on
Jun 08, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
21
node-opcua is a full OPC UA stack for NodeJS and the Browser written in Typescript.
Node-opcua is the OPC-UA stack running on NodeJS.
Why NodeJS ?
Because NodeJs is a great framework for designing high-performing asynchronous applications.
$ mkdir mytest
$ cd mytest
$ npm init
$ npm install node-opcua --unsafe-perms
$ # Create your first app.js file!
1$ mkdir myserver 2$ cd myserver 3$ npm init 4$ npm install node-opcua-samples --unsafe-perms 5$ ./node_modules/.bin/simple_server
or
1$ ./node_modules/.bin/simple_client -e "opc.tcp://opcserver.mAutomation.net:4841" -n="ns=1;s=EVR2.system.RTC_SEC"
or
1$ ./node_modules/.bin/simple_client -e "opc.tcp://opcuademo.sterfive.com:26543"
Nodejs version 18 or above
. This book provides a large number of practical and ready-to-use and fully documented examples. It's the best starting point to learn about node-opcua.
The funding of node-opcua entirely relies on its users.
We appreciate that, once you have evaluated the software and you have decided to use it in one of your applications, you consider supporting our effort by either financially contributing to one of our sponsor programs:
Grants ensure the following:
Thank you to all our backers! Become a backer
This project exists thanks to all the people who contribute.
To get professional support, consider subscribing to the node-opcua membership community:
Registered members have access to an extended set of online documentation.
Registered members can post and query Sterfive for any question related to NodeOPCUA in a private chat room.
or contact sterfive for dedicated consulting and more advanced support or for a certified version of node-opcua. (contact@sterfive.com).
If your company would like to participate and influence the development of future versions of node-opcua please contact sterfive.
Those are the items we would like to achieve in the next version of the API.
$ git clone https://github.com/node-opcua/node-opcua.git
$ cd node-opcua
$ npm install -g pnpm
$ pnpm recursive install
$ pnpm build
$ node packages/node-opcua-samples/bin/simple_server
$ git clone https://github.com/node-opcua/node-opcua.git
$ cd node-opcua
$ npm install -g pnpm
$ pnpm recursive install
$ pnpm build
$ node packages/node-opcua-samples/bin/simple_client.js -e "opc.tcp://opcserver.mAutomation.net:4841" -n="ns=1;s=EVR2.system.RTC_SEC"
more tutorials are available in the book (https://leanpub.com/node-opcuabyexample-edition2024)
more advanced examples and training material are available for the NodeOPCUA Subscription members at (https://support.sterfive.com)
check out the API documentation
$ git clone git://github.com/node-opcua/node-opcua.git
$ cd node-opcua
$ npm install -g pnpm
$ pnpm install
$ pnpm recursive install
$ pnpm build
Service | ||
---|---|---|
Discovery Service Set | ||
FindServers() | :white_check_mark: | |
GetEndpoints() | :white_check_mark: | |
RegisterServer() | :white_check_mark: | |
RegisterServer2() | :white_check_mark: | |
FindServersOnNetwork() | :white_check_mark: | |
Secure Channel Service Set | ||
OpenSecureChannel() | :white_check_mark: | |
CloseSecureChannel() | :white_check_mark: | |
Session Service Set | ||
CreateSession() | :white_check_mark: | |
CloseSession() | :white_check_mark: | |
ActivateSession() | :white_check_mark: | |
Cancel() | ||
View Service Set | ||
Browse() | :white_check_mark: | |
BrowseNext() | :white_check_mark: | |
TranslateBrowsePathsToNodeIds() | :white_check_mark: | |
RegisterNodes() | :white_check_mark: | |
UnregisterNodes() | :white_check_mark: | |
Attribute Service Set | ||
Read() | :white_check_mark: | |
Write() | :white_check_mark: | |
HistoryRead() | :waxing_crescent_moon: | |
HistoryUpdate() | :waxing_crescent_moon: | |
MonitoredItems Service Set | ||
CreateMonitoredItems() | :white_check_mark: | |
ModifyMonitoredItems() | :white_check_mark: | |
SetMonitoringMode() | :white_check_mark: | |
SetTriggering() | :new_moon: | |
DeleteMonitoredItems() | :white_check_mark: | |
Subscription Service Set | ||
CreateSubscription() | :white_check_mark: | |
ModifySubscription() | :white_check_mark: | |
DeleteSubscriptions() | :white_check_mark: | |
Publish() | :white_check_mark: | |
Republish() | :white_check_mark: | |
TransferSubscriptions() | :white_check_mark: | |
Node Management Service Set | ||
AddNodes() | :new_moon: | |
AddReferences() | :new_moon: | |
DeleteNodes() | :new_moon: | |
DeleteReferences() | :new_moon: | |
Query Service Set | ||
QueryFirst() | :new_moon: | |
QueryNext() | :new_moon: | |
PubSUB | as a commercial module | :white_check_mark: |
GDS | as a commercial module | :white_check_mark: |
Transport Protocol | ||
Transport | Status | Comment |
UA-TCP UA-SC UA Binary | :white_check_mark: | OPC.TCP - Binary |
SOAP-HTTP WS-SC UA Binary | :new_moon: | HTTP/HTTPS - Binary |
SOAP-HTTP WS-SC UA XML | :new_moon: | |
SOAP-HTTP WS-SC UA XML-UA Binary | :new_moon: | |
Security Policies | ||
Policy | Status | Comment |
None | :white_check_mark: | |
Basic128Rsa15 | :white_check_mark: | deprecated in 1.04 |
Basic256 | :white_check_mark: | deprecated in 1.04 |
Basic256Sha256 | :white_check_mark: | |
Authentication | Status | Comment |
Anonymous | :white_check_mark: | |
User Name Password | :white_check_mark: | |
X509 Certificate | :white_check_mark: | |
client facets | ||
Base Client Behaviour | :white_check_mark: | |
AddressSpace Lookup | :white_check_mark: | |
Attribute Read | :white_check_mark: | |
DataChange Subscription | :white_check_mark: | |
DataAccess | :white_check_mark: | |
Discovery | :white_check_mark: | |
Event Subscription | :white_check_mark: | |
Method call | :white_check_mark: | |
Historical Access | :first_quarter_moon: | |
Advanced Type | :white_check_mark: | |
Programming | :new_moon: | |
Auditing | :first_quarter_moon: | |
Redundancy | :new_moon: | Sponsors wanted |
server profiles | ||
Core Server | :white_check_mark: | |
Data Access Server | :white_check_mark: | |
Embedded Server | :white_check_mark: | |
Nano Embedded Device Server | :white_check_mark: | |
Micro Embedded Device Server | :white_check_mark: | |
Standard DataChange Subscription Server | :white_check_mark: | |
Standard Event Subscription Server | :white_check_mark: | |
Standard UA Server | :white_check_mark: | |
Redundancy Transparent Server | :new_moon: | Sponsors wanted |
Redundancy Visible Server | :new_moon: | Sponsors wanted |
Node Management Server | :new_moon: | Sponsors wanted |
Auditing Server | :first_quarter_moon: | |
Complex Type Server | :white_check_mark: | (sponsored) |
Session Diagnostics | :white_check_mark: | (sponsored) |
Subscription Diagnostics | :white_check_mark: | (sponsored) |
Alarms & Conditions | :white_check_mark: | (sponsored) |
Pub & Sub | :new_moon: | Sponsors wanted |
if you're using node-opcua in one of your project, please feel free to leave a comment and a quick description in the wiki
if you have a particular wish or found a issue, let us known and create an issue
The node-opcua core module is copyrighted and licencsd under the term of the "The MIT License".
This means that :
You are strongly encouraged to apply to our NodeOPCUA Membership to get additional benefits and support.
Copyright (c) 2022-2025 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com) Copyright (c) 2014-2022 Etienne Rossignon
No vulnerabilities found.
Reason
30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
1 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 2/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More