hodiny
v1.1.0
Published
Yet another synchronizable clock
Readme
Hodiny
Yet another synchronizable clock
Table of Contents
Install
$ npm install hodinyUsage
const { Clock } = require("hodiny");
const clock = new Clock({
fetchTime() {
// Fetch the current time from your source of truth...
},
});
clock.ready.then(() => {
console.log(clock.now());
});Author
Alexandre Breteau - @0xSeldszar
License
MIT © Alexandre Breteau
