MCPcopy Create free account
hub / github.com/EvoMap/evolver / nodeOptionTakesValue

Function nodeOptionTakesValue

src/ops/lifecycle.js:448–456  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

446}
447
448function nodeOptionTakesValue(option) {
449 var name = String(option || '').split('=')[0];
450 return name === '-r' || name === '--require' ||
451 name === '--import' ||
452 name === '--loader' || name === '--experimental-loader' ||
453 name === '--icu-data-dir' ||
454 name === '--openssl-config' ||
455 name === '--redirect-warnings';
456}
457
458function nodeOptionIsEvalMode(option) {
459 var name = String(option || '').split('=')[0];

Callers 1

getNodeScriptTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected