PHP 7.4.33
Preview: clock.js Size: 336 B
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/limiter/lib/clock.js
var getMilliseconds = function() {
  if (typeof process !== 'undefined' && process.hrtime) {
    var hrtime = process.hrtime();
    var seconds = hrtime[0];
    var nanoseconds = hrtime[1];

    return seconds * 1e3 +  Math.floor(nanoseconds / 1e6);
  }

  return new Date().getTime();
}

module.exports = getMilliseconds;

Directory Contents

Dirs: 0 × Files: 3
Name Size Perms Modified Actions
336 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
4.93 KB lrw-r--r-- 2026-05-06 08:23:46
Edit Download
5.60 KB lrw-r--r-- 2026-05-06 08:23:46
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).