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

File I/O is provided by simple wrappers around standard POSIX functions. To use this module do require(‘fs’). All the methods have asynchronous and synchronous forms.

The asynchronous form always takes a completion callback as its last argument. The arguments passed to the completion callback depend on the method, but the first argument is always reserved for an exception. If the operation was completed successfully, then the first argument will be null or undefined.

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

Leave a Reply

3 Comments on "Node.js Tutorial for Beginners 8 – Reading and Writing Files using fs module"

Notify of
avatar

siam
Guest
siam
10 months 23 days ago

Nice. Make more please. BTW, voice quality / mic improved! 👌

sup7982 GtA
Guest
sup7982 GtA
10 months 24 days ago

Hi

Vivek Verma (Vipul)
Guest
Vivek Verma (Vipul)
10 months 24 days ago

Good work.

wpDiscuz