🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@apio/encoding

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apio/encoding

A library for encode/decode data received from :protocol-service

latest
Source
npmnpm
Version
3.0.8
Version published
Maintainers
0
Created
Source

@apio/encoding

A library for encode/decode data received from :protocol-service.

Installation

npm install @apio/encoding

Usage

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

Keywords

apio

FAQs

Package last updated on 30 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts