Skip to main content
The writeFile() method allows you to create or overwrite files inside your sandbox’s isolated filesystem. It supports both text and binary content. All file paths must begin with the absolute sandbox path /home/damner.

writeFile(options)

Description: Writes a file to the sandbox filesystem. Supports both text and binary content. Parameters: Returns: Promise<void> - Resolves when write is complete Example: