mirror of
https://github.com/azure/setup-kubectl.git
synced 2026-12-06 20:21:52 +00:00
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
@@ -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