Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Download files from a volume to your local filesystem using the readFile method.
readFile()
read_file()
import fs from 'fs' import { Volume } from 'e2b' const volume = await Volume.create('my-volume') // Read file from volume const content = await volume.readFile('/path/in/volume') // Write file to local filesystem fs.writeFileSync('/local/path', content)
Was this page helpful?