node-vscp-helper

node.js interface to VSCP helper library

Usage no npm install needed!

<script type="module">
  import nodeVscpHelper from 'https://cdn.skypack.dev/node-vscp-helper';
</script>

README

node-vscp-helper

Utility and helper functions for VSCP applications

If you are new to VSCP you can find more info here.

Install

NOT! This module needs the VSCP helper library, so before use you must install this library. Instructions are here.

Install with

npm install node-vscp-helper

optionally with '--save' to save dependency in the package.json file.

Usage

Reference the module in the beginning of your file like this

const vscphlp = require("node-vscp-helper");

if you want to work with constants instead of magical numbers then the vscp-class and vscp-type module is also useful. Bring them all in like this

const vscp_class = require('node-vscp-class');
const vscp_type = require('node-vscp-type');

const vscp = require("node-vscp");

This package is part of the VSCP(Very Simple Control Protocol) IoT framework.