Module

x/hono/adapter/deno/deno.d.ts>Deno.writeFile

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
function Deno.writeFile
import { Deno } from "https://dotland.deno.dev/x/hono@v4.2.2/adapter/deno/deno.d.ts";
const { writeFile } = Deno;

Write a new file, with the specified path and data.

Parameters

path: string

The path to the file to write.

data: Uint8Array

The data to write to the file.

Returns

Promise<void>

A promise that resolves when the file is written.