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

x/ayonli_jsext/workerd/dialog.ts>saveFile

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

Parameters

file: File
optional
options: Pick<SaveFileOptions, "title">

Returns

Promise<void>

Parameters

file:
| Blob
| ArrayBuffer
| ArrayBufferView
| ReadableStream<Uint8Array>
optional
options: SaveFileOptions

Returns

Promise<void>