Category Archives: Node.js

Node.js – How to manage files (Create, Modify and Delete a file)

By | 16/09/2019

In this post, we will see how to create, modify and delete a file with Node.js.For this post, we will use the file manageFile.js created in the postHow to manage file with Node.js – Part I (Read a file)and a new file called FinalManage.js: [FINALMANAGEFILE.JS] CREATE AN EMPTY FILEWe add the method CreateFile in manageFile.js:… Read More: Node.js – How to manage files (Create, Modify and Delete… »

Node.js – Modules

By | 19/08/2019

When we are developing an application with Node.js, we could put all functionalities into one single huge file. For the Node.js interpreter this isn’t a problem but, we could have problems in terms of code organization.It is a best practice breaking down our huge files in more small files.In node.js a functionality organized in single… Read More: Node.js – Modules »