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

x/ayonli_jsext/workerd/fs.ts>writeFile

A JavaScript extension package for building strong and modern applications.
Latest
function writeFile
import { writeFile } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/fs.ts";

Parameters

target: string | FileSystemFileHandle
data:
| string
| ArrayBuffer
| ArrayBufferView
| ReadableStream<Uint8Array>
| Blob
optional
options: WriteFileOptions = [UNSUPPORTED]

Returns

Promise<void>