We can get the path of the present script in node.js by using __dirname and __filename module scope variables. __dirname: It returns the directory name… Read More
Tag Archives: Node.js-Misc
Node.js is an open source and cross-platform runtime environment for executing JavaScript code outside of the browser. It is widely used in developing APIs and… Read More
Cron Jobs: These are the tasks that run periodically by the operating system. Users can schedule commands the OS will run these commands automatically according… Read More
Need for External Modules: For a large JavaScript application, it becomes difficult and messy to write the whole code in just one JavaScript file. This… Read More
In this article, we will learn how to develop and publish your own npm package (also called an NPM module). There are many benefits of… Read More
If you don’t know precisely what Node.js is and you’re here to learn about new things in Node.js. Let’s start with a brief introduction to… Read More
What is SendGrid API? SendGrid is a platform for sending transactional and marketing emails to the customers. It provides scalability, reliability, and deliverability which is an… Read More
Introduction: File uploading means a user from client machine requests to upload file to the server. For example, users can upload images, videos, etc on… Read More
Nodemailer is the Node.js npm module that allows to send email easily. In this article, we will cover each steps to send email using Gmail… Read More
Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js can be installed in multiple ways on your Ubuntu Linux machine. You can… Read More