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

bin-target.js329 B · 10 lines
const isWindows = require('./is-windows.js')const getPrefix = require('./get-prefix.js')const getNodeModules = require('./get-node-modules.js')const { dirname } = require('path') module.exports = ({ top, path }) =>  !top ? getNodeModules(path) + '/.bin'  : isWindows ? getPrefix(path)  : dirname(getPrefix(path)) + '/bin'