GeeksforGeeksAI GeneratedGeeksforGeeks https://www.geeksforgeeks.org/node-js-fs-l…Node.js fs.lstatSync() MethodThe fs.lstatSync() method is used to synchronously return information about the symbolic link that is being used to refer to a file or directory. The fs.Stat object returns several fields and methods to get more details about the file.