File Explorer

/proc/2/root/var/lang/lib/node_modules/npm/node_modules/semver/internal

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

parse-options.js338 B · 18 lines
'use strict' // parse out just the options we care aboutconst looseOption = Object.freeze({ loose: true })const emptyOpts = Object.freeze({ })const parseOptions = options => {  if (!options) {    return emptyOpts  }   if (typeof options !== 'object') {    return looseOption  }   return options}module.exports = parseOptions