Check synchronously if file/directory exists in Node.js
Asked 07 September, 2021
Viewed 2.1K times
  • 51
Votes

How can I synchronously check, using node.js, if a file or directory exists?

18 Answer