Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sandbox/sandbox.ts>Sandbox#writeFile

🦕 Create a temporary sandbox directory which is removed when the instance is disposed
Go to Latest
method Sandbox.prototype.writeFile
import { Sandbox } from "https://deno.land/x/sandbox@v1.1.0/sandbox.ts";

Parameters

path: string
data: Uint8Array
optional
options: Deno.WriteFileOptions

Returns

Promise<void>