Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ fixture.cjs
File
fixture.cjs
test/fixtures/options-as-flags/fixture.cjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
{ getOptionsAsFlagsFromBinding } = require(
'internal/options'
);
2
3
const
flags = getOptionsAsFlagsFromBinding();
4
console.log(JSON.stringify(flags.sort()));
Callers
nothing calls this directly
Calls
4
getOptionsAsFlagsFromBinding
Function · 0.85
sort
Method · 0.80
require
Function · 0.50
log
Method · 0.45
Tested by
no test coverage detected