Answers for "howto read files from two folder back in nodejs"

1

__dirname go back one directory

let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
Posted by: Guest on February-02-2021

Code answers related to "howto read files from two folder back in nodejs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language