Published on November 30, 2016 by ProgrammingKnowledge
Want create site? Find Free WordPress Themes and plugins.

In thi video i am goin to show how to Create and Remove Directories using fs module. Most of the people using fs with Node.js would like functions close to the “Unix way” of dealing with files.
fs.rmdir(path, callback)
fs.rmdirSync(path)
fs.mkdir(path[, mode], callback)
fs.mkdirSync(path[, mode])
fs.unlink(path, callback)

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

4 Comments on "Node.js Tutorial for Beginners 9 – Creating and Removing Directories using fs module"

Notify of
avatar

ENGINEERED TRUTH
Guest
ENGINEERED TRUTH
7 months 22 days ago

I found this solution if you want to check to see if the file exists: stackoverflow.com/a/36614925

Luigi DR1FT
Guest
Luigi DR1FT
9 months 25 days ago

can you help me for one thing. I am making Chat app and when I am trying to "Run app" it shows me error — String types not allowed (at 'ic_fab' with value 'fab')

Luigi DR1FT
Guest
Luigi DR1FT
9 months 23 days ago

add me on skype: asus9977

siam
Guest
siam
9 months 25 days ago

provide full code.

wpDiscuz