New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hodiny

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hodiny

Yet another synchronizable clock

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Hodiny

Yet another synchronizable clock

Table of Contents

  • Install
  • Usage
  • Author
  • License

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

FAQs

Package last updated on 13 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts