Published on November 30, 2016 by ProgrammingKnowledge

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)

Leave a Reply

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

Notify of
avatar

Luigi DR1FT
Guest
Luigi DR1FT
9 days 8 hours 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
7 days 8 hours ago

add me on skype: asus9977

Siam
Guest
Siam
9 days 2 hours ago

provide full code.

wpDiscuz