Module

std/node/fs.ts

Deno standard library
Go to Latest
function writeFile
import { writeFile } from "https://deno.land/std@0.145.0/node/fs.ts";

Parameters

pathOrRid: string | number | URL
data: string | Uint8Array | Object
optOrCallback:
| Encodings
| CallbackWithError
| WriteFileOptions
| undefined
optional
callback: CallbackWithError
import writeFile
import { writeFile } from "https://deno.land/std@0.145.0/node/fs.ts";