pub fn stat_sync(path: &str) -> Result<JsValue, JsValue>
Synchronously retrieves the fs.Stats object describing the file system entry at path.
fs.Stats
path