Skip to main content
Module

std/fs/mod.ts>writeFileStrSync

Deno standard library
Go to Latest
function writeFileStrSync
import { writeFileStrSync } from "https://deno.land/std@0.52.0/fs/mod.ts";

Write the string to file synchronously.

Parameters

filename: string

File to write

content: string

The content write to file

Returns

void

void