NamespacesSwitchFunctionsstatSync statSync(path): null | Stats Parameters ParameterTypeDescriptionpathPathLikeFile path to retrieve file stats for. Returns null | Stats Object containing the file stat information of path, or null if the file does not exist.statPrevious PagewriteFileSyncNext Page