Node JS Read Write File Examples

Node JS provides synchronous and asynchronous methods for reads and writes local files. When you use the 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 the asynchronous method, you need to provide a callback function as the …

Node JS Read Write File Examples Read More »