Skip to content

Category Archives: Node.js

The urlObject.query is the query string returned without the ASCII question mark (?) or an object returned by the querystring module named as parse() method.… Read More
This URL.fileURLToPath function decodes the file URL to a path string and ensures that the URL control characters (/, %) are correctly appended/adjusted when converting… Read More
In this article, we will explore how to write JavaScript modules that can be used by both the client-side and the server-side applications.We have a… Read More
The url.parse() method takes a URL string, parses it, and it will return a URL object with each part of the address as properties.  Syntax: … Read More
What is Stack? The stack is a linear data structure like an array in which only the last inserted element can be accessed. This data structure… Read More
EJS: EJS or Embedded Javascript Templating is a templating engine used by Node.js. Template engine helps to create an HTML template with minimal code. Also,… Read More
Express is a lightweight web application framework for node.js used to build the back-end of web application relatively fast and easily. Here we are going… Read More
HTTP: When the data transfer in HTTP protocol it just travels in the clear text format. HTTPS: It simply makes encryption when the request is traveling… Read More
In this article, we will build a static file web server which will list out all the files in the directory and on clicking the… Read More
According to the official documentation of Node.js, it is an asynchronous event-driven JavaScript runtime. Node.js has an event-driven architecture which can perform asynchronous tasks. Node.js… Read More
The url.hostname is an inbuilt application programming interface of class URL within the url module which is used to get and set the hostname portion… Read More
The url.protocol is an inbuilt application programming interface of class URL within URL module which is used to get and set the protocol scheme of… Read More
The most important functionalities provided by programming languages are Reading and Writing files from the computers. Node.js provides the functionality to read and write files… Read More
Sockets.IO : Earlier, websites used to reload every-time a resource was requested. This introduced unnecessary delays which increased average wait time. Often users had to… Read More
The url.protocol is an inbuilt application programming interface of class URL within url module which is used to get and set the protocol portion of… Read More

Start Your Coding Journey Now!