Skip to main content

stat

function stat
Jump to headingstat(
path: PathLike,
opts?: StatOptions & { bigint?: false | undefined; },
): Promise<Stats>

Parameters Jump to heading

optional
Jump to headingopts: StatOptions & { bigint?: false | undefined; }

Return Type Jump to heading

Promise<Stats>

Fulfills with the {fs.Stats} object for the given path.

Jump to headingstat(
path: PathLike,
opts: StatOptions & { bigint: true; },
): Promise<BigIntStats>

Parameters Jump to heading

Return Type Jump to heading

Promise<BigIntStats>
Back to top