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

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

Web Framework built on Web Standards
Very Popular
Go to Latest
function Deno.writeFile
import { Deno } from "https://deno.land/x/hono@v4.3.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.