File Explorer

/proc/self/root/proc/1/task/1/cwd/node24/lib/node_modules/npm/node_modules/semver/functions

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 /.

clean.js205 B · 9 lines
'use strict' const parse = require('./parse')const clean = (version, options) => {  const s = parse(version.trim().replace(/^[=v]+/, ''), options)  return s ? s.version : null}module.exports = clean