Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
d893f27da9
commit
7f7e5ba5ea
11
node_modules/w3c-hr-time/lib/utils.js
generated
vendored
Normal file
11
node_modules/w3c-hr-time/lib/utils.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
// Browserify's process implementation doesn't have hrtime, and this package is small so not much of a burden for
|
||||
// Node.js users.
|
||||
const hrtime = require("browser-process-hrtime");
|
||||
|
||||
function toMS([sec, nanosec]) {
|
||||
return sec * 1e3 + nanosec / 1e6;
|
||||
}
|
||||
|
||||
module.exports = { hrtime, toMS };
|
||||
Reference in New Issue
Block a user