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

x/sandbox/sandbox.ts>Sandbox#writeTextFile

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

Parameters

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

Returns

Promise<void>