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

x/deno/cli/js/write_file.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.30.0/cli/js/write_file.ts";

Functions

Write a new file, with given filename and data.

Write a new file, with given filename and data synchronously.

Interfaces

Options for writing to a file. perm would change the file's permission if set. create decides if the file should be created if not exists (default: true) append decides if the file should be appended (default: false)