statAsync

external fun statAsync(path: PathLike, opts: StatSimpleOpts = definedExternally): Promise<Stats>(source)

Since

v10.0.0

Return

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


external fun statAsync(path: PathLike, opts: StatOptions = definedExternally): Promise<Any>(source)
external fun statAsync(path: PathLike): Promise<Stats>(source)