Module

std/node/fs.ts>statSync

Deno standard library
Go to Latest
function statSync
import { statSync } from "https://deno.land/std@0.145.0/node/fs.ts";

Parameters

path: string | URL
options: { bigint: false; throwIfNoEntry?: boolean; }

Parameters

path: string | URL
options: { bigint: true; throwIfNoEntry?: boolean; }

Returns

BigIntStats

Parameters

path: string | URL
optional
options: statOptions = [UNSUPPORTED]

Returns

Stats | BigIntStats | undefined
import statSync
import { statSync } from "https://deno.land/std@0.145.0/node/fs.ts";