time-to-uint8array

1.0.0 • Public • Published

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 ]

Package Sidebar

Install

npm i time-to-uint8array

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.01 kB

Total Files

3

Last publish

Collaborators

  • pingu1337