File Explorer

/proc/4/root/var/lang/lib/node_modules/npm/node_modules/bin-links/lib

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

get-prefix.js147 B · 4 lines
const { dirname } = require('path')const getNodeModules = require('./get-node-modules.js')module.exports = path => dirname(getNodeModules(path))