Skip to main content
Module

x/dtils/mod.unstable.ts>writeText

The best unofficial library of utilities for Deno applications
Go to Latest
function writeText
Re-export
import { writeText } from "https://deno.land/x/dtils@2.5.0/mod.unstable.ts";

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

Parameters

file: string
text: string

Returns

Promise<void>