import { deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { truncate } = deno;
Truncates or extends the specified file, updating the size of this file to become size.
import { truncate } from "deno";
await truncate("hello.txt", 10);