nodejs-ecal
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Nodejs-eCal

eCAL wrapper for Nodejs. Check out ecal here: https://github.com/eclipse-ecal/ecal.

Dependencies

CMake, some compiler, protobuf and eCAL musst be installed on the system. See docs: https://eclipse-ecal.github.io/ecal/getting_started/setup.html

# Linux
sudo add-apt-repository ppa:ecal/ecal-latest
sudo apt-get update
sudo apt-get install ecal cmake g++ libprotobuf-dev protobuf-compiler

Usage

npm install -s nodejs-ecal

Note that only communication with ArrayBuffers is supported. This is because specific interface description (e.g. for protobuf) would need to be known at compile time as node addons ship as dynamic libs. That means on Node.js side the user has to take care of data serialization.

Current features the wrapper includes are: Client, Server, Publisher, Subscriber. For examples check the examples folder.

Dev

Project is using cmake-js: https://github.com/cmake-js/cmake-js.

# Install dependencies (nodejs must be installed)
npm install
# optional to use cmake-js command in terminal
npm install -g cmake-js

# Build
npm run install

# Test
npm run test

# Publish new versions
npm login
npm publish

Package Sidebar

Install

npm i nodejs-ecal

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

49.7 kB

Total Files

35

Last publish

Collaborators

  • j-o-d-o