ntp-time-sync
ntp-time-sync copied to clipboard
Fetches the current time from NTP servers and returns detailed offset information
This code does not work with `deno` As it does not support __proto__ by default https://docs.deno.com/runtime/reference/cli/unstable_flags/#--unstable-unsafe-proto ```ts import { NtpTimeSync } from "ntp-time-sync"; const timeSync = NtpTimeSync.getInstance({ ntpDefaults: { minPoll:...
Hello, Trying to do a basic implementation here, on version 0.5.0 ``` import { NtpTimeSync } from 'ntp-time-sync'; const defaultOptions = { // list of NTP time servers, optionally including...