opcua-webapi-ts
v1.1.17
Published
Provides OPC UA WebAPI wrapper and client based on opcua-webapi-typescript
Downloads
1,202
Maintainers
Readme
opcua-webapi-ts
This TypeScript/JavaScript client is based on opcua-webapi-typescript(the offical release from OPC foundation), opcua-webapi-ts is an wrapper to easier use OPC UA WebApi, including basical type and web client.
This module can be used in the following environments:
Environment
- Node.js
- Webpack
- Browserify
Language level
- ES6
Module system
- CommonJS
- ES6 module system
Building
To build and compile the typescript sources to javascript use:
npm install
npm run buildPublishing
Build the package before publishing:
npm install
npm run buildThen publish it to npm:
npm publishConsuming
npm install opcua-webapi-tsCommonJS:
const { UaWebClient } = require("opcua-webapi-ts")TypeScript:
import { UaWebClient } from "opcua-webapi-ts"