Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function writeFileStr
import { writeFileStr } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/fs/mod.ts";

Write the string to file.

Parameters

filename: string

File to write

content: string

The content write to file

Returns

Promise<void>

Promise