Mstat
Bun

method

fs.promises.FileHandle.stat

opts?: StatOptions & { bigint: false }
): Promise<Stats>;
@returns

Fulfills with an {fs.Stats} for the file.

opts: StatOptions & { bigint: true }
): Promise<BigIntStats>;
): Promise<Stats | BigIntStats>;