blob: e494787b96c0882d2c2960f3b8f6840ba05fea4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
'use strict';
const { getOptions } = internalBinding('options');
const { options, aliases } = getOptions();
function getOptionValue(option) {
const result = options.get(option);
if (!result) {
return undefined;
}
return result.value;
}
module.exports = {
options,
aliases,
getOptionValue
};
|