File Explorer

/proc/thread-self/root/var/runtime/node_modules/@aws-sdk/node_modules/duplexify

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

example.js370 B · 22 lines
var duplexify = require('duplexify')var http = require('http') var request = function(opts) {  var req = http.request(opts)  var dup = duplexify()  dup.setWritable(req)  req.on('response', function(res) {    dup.setReadable(res)  })  return dup} var req = request({  method: 'GET',  host: 'www.google.com',  port: 80}) req.end()req.pipe(process.stdout)