Skip to main content
The Deno 2 Release Candidate is here
Learn more
function WriteTextFile
Re-export
import { WriteTextFile } from "https://deno.land/x/macromania_assets@v0.2.0/deps.ts";

Write the expanded child to the given path, by default creating a new file if needed, else overwriting.

See https://deno.land/api@v1.40.3?unstable=true&s=Deno.writeTextFile

Parameters

unnamed 0: { path: string | URL; options?: Deno.WriteFileOptions; children?: Expressions; }

Returns

The expanded child.