Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/mod.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.4.0/mod.ts";

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

Parameters

file: string
text: string

Returns

Promise<void>