Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fs file already exists

if (fs.existsSync(path)) {
    //file exists
}
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #fs #file #exists
ADD COMMENT
Topic
Name
7+3 =