It should be probably : fs.existsSync||path.existsSync