Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function truncate
import { truncate } from "https://deno.land/std@0.95.0/node/_fs/_fs_truncate.ts";

Parameters

path: string | URL
lenOrCallback: number | CallbackWithError
optional
maybeCallback: CallbackWithError