blob: e494787b96c0882d2c2960f3b8f6840ba05fea4b [file] [log] [blame] [edit]
'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
};