npm install 2stools-daq
Using packetDecode function to decode raw data to JSON.
const { packetDecode } = require('2stools-daq');
const rawData = '000441da6666';
const decodedData = packetDecode(rawData);
console.log(decodedData);
// { "temp": "27.3000" }