2022-11-28
~1 min read
125 words
When using Node, it’s often necessary to know if the path you’re referencing is a file or directory. If you don’t handle these cases, it’s…