Node JS Read Write File Examples

Node JS provide synchronous and asynchronous methods for read and write local files. When you use synchronous method, the execution thread will be blocked until the process complete, and you need to catch the exception by yourself in code. When you use asynchronous method, you need to provide a callback function as the second parameter, …

Node JS Read Write File Examples Read More »