3.0.8 • Published 1 year ago
@apio/encoding v3.0.8
@apio/encoding
A library for encode/decode data received from :protocol-service.
Installation
npm install @apio/encodingUsage
const { getEncoder } = require('@apio/encoding')
const encode = getEncoder('SenecaZE-4DI')
// base64 received from modbus-service
const data = 'AAAIAgIAAAAACQICAAA='
const encoded = encode(data)
// [ { name: "register_8", value: 0 }, { name: "register_9", value: 0 } ]Todo
- Fix encoders in
todo/encoders - Uniform Seneca encoders