Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check given path is valid or not in nodejs

fs.lstatSync(path_string).isDirectory() 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #path #valid #nodejs
ADD COMMENT
Topic
Name
2+1 =