Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.js 304B

1234567891011
  1. "use strict";
  2. // Browserify's process implementation doesn't have hrtime, and this package is small so not much of a burden for
  3. // Node.js users.
  4. const hrtime = require("browser-process-hrtime");
  5. function toMS([sec, nanosec]) {
  6. return sec * 1e3 + nanosec / 1e6;
  7. }
  8. module.exports = { hrtime, toMS };