UNPKG

orionsoft-react-scripts

Version:

Orionsoft Configuration and scripts for Create React App.

17 lines (9 loc) 321 B
var Sntp = require('../lib'); // Request offset once Sntp.offset(function (err, offset) { console.log(offset); // New (served fresh) // Request offset again Sntp.offset(function (err, offset) { console.log(offset); // Identical (served from cache) }); });