0.0.1 • Published 6 years ago
iot-last-reported v0.0.1
IOT Last Reported
Get last reported timestamp using metadata for AWS IOT Thing Shadow
const time = require('iot-last-reported');
// from iot.getThingShadow().payload ...
metadata = {
data: {
timestamp: 132895761
},
something: {
else: {
timestamp: 1238767546
}
}
};
let timestamp = time(metdata);
0.0.1
6 years ago