hodiny
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Hodiny

Yet another synchronizable clock

Table of Contents

Install

$ npm install hodiny

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i hodiny

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

4.8 kB

Total Files

5

Last publish

Collaborators

  • seldszar