import { create } from "https://deno.land/x/deno@v0.30.0/cli/js/files.ts";
Creates a file if none exists or truncates an existing file and returns
an instance of the File
object.
const file = await Deno.create("/foo/bar.txt");
import { create } from "https://deno.land/x/deno@v0.30.0/cli/js/files.ts";
Creates a file if none exists or truncates an existing file and returns
an instance of the File
object.
const file = await Deno.create("/foo/bar.txt");