1.0.0 • Published 2 years ago
time-to-uint8array v1.0.0
time-to-uint8array
npm install time-to-uint8array
A simple node module for converting time to Uint8Array
How to use
import timeToUint8Array from 'time-to-uint8array';
const timeArray = timeToUint8Array(new Date().getTime());
console.log(timeArray);
// output: Uint8Array(13) [1, 6, 6, 6, 2, 7, 2, 4, 7, 4, 9, 6, 9 ]
1.0.0
2 years ago