// SYSTEM PANEL //
[ROOT]
/
opt
/
alt
/
alt-nodejs16
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
semver
/
internal
[ PARENT ]
EDIT :: parse-options.js
// parse out just the options we care about so we always get a consistent // obj with keys in a consistent order. const opts = ['includePrerelease', 'loose', 'rtl'] const parseOptions = options => !options ? {} : typeof options !== 'object' ? { loose: true } : opts.filter(k => options[k]).reduce((o, k) => { o[k] = true return o }, {}) module.exports = parseOptions
SAVE
CANCEL