1.0.9 • Published 7 years ago

os-timesync v1.0.9

Weekly downloads
129
License
MIT
Repository
github
Last release
7 years ago

Travis AppVeyor

os-timesync can help you check whether NTP time sync is enabled in OS settings. It can do so reliably on OS X and Windows and somewhat less reliably on Linux. Note that the result does not tell you whether the local time is accurate.

var timesync = require("os-timesync");

timesync.checkEnabled(function (err, enabled) {
    if (err) {
        console.log("can't check: " + err.toString());
        return;
    }
    console.log("enabled =", enabled);
});
1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

8 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago