Skip to main content
Module

x/dtils/fs.ts>writeText

The best unofficial library of utilities for Deno applications
Go to Latest
function writeText
import { writeText } from "https://deno.land/x/dtils@2.6.0/fs.ts";

Write text to file. Creates the directory if it doesn't exist

Parameters

file: string
text: string

Returns

Promise<void>