1.0.0 • Published 2 months ago
@deepakmaurya/packet-decoder v1.0.0
RadioBridge Decoder
This library helps de-coding the Radio Bridge sensor payload as a JSON Object, that can be used in various applications to display the proper sensor states.
Installation
This library can be installed using any compatible package manager.
npm install @deepakmaurya/packet-decoder --save
# For Yarn, use the command below.
yarn add @deepakmaurya/packet-decoder
Usage
const decoder = require('@deepakmaurya/packet-decoder')
console.log(decoder.decodePayload('170001'))
1.0.0
2 months ago