This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

22
frontend/node_modules/microseconds/now.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
/* global performance */
'use strict'
let now
if (global.process && process.hrtime) {
const hrtime = process.hrtime
now = () => {
const hr = hrtime()
return (hr[0] * 1e9 + hr[1]) / 1e3
}
} else if (global.performance && performance.now) {
const timing = performance.timing
const start = (timing && timing.navigationStart) || Date.now()
now = () => (start + performance.now()) * 1e3
} else {
now = () => Date.now() * 1e3
}
module.exports = now