Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs19
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
semver
/
internal
/
File Content:
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
Submit
FILE
FOLDER
Name
Size
Permission
Action
constants.js
467 bytes
0644
debug.js
226 bytes
0644
identifiers.js
410 bytes
0644
parse-options.js
383 bytes
0644
re.js
6672 bytes
0644
N4ST4R_ID | Naxtarrr