Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/f0rr0/oliphaunt
/ requireArg
Function
requireArg
scripts/perf/node-bench/start_nodefs_socket.mjs:28–34 ·
view source on GitHub ↗
(args, key)
Source
from the content-addressed store, hash-verified
26
}
27
28
function
requireArg(args, key) {
29
const
value = args[key]
30
if
(!value) {
31
throw
new
Error(`${key} is required`)
32
}
33
return
value
34
}
35
36
function
nowMicros() {
37
return
Math.round(performance.now() * 1000)
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected