Skip to content

Category Archives: Node.js

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
In URLSearchParams interface, the sort() method helps to sort all key/pairs in place.The sort criteria is unicode points of the keys.This method uses stable sorting… Read More
With the help of urlObject.pathname() method, we can find the name of the path which is used by the given hostname. This contains all the… Read More
In URLSearchParams interface, the values() method returns an iterator which allows us to iterate through all the values present in the object Syntax: searchParams.values(); Return:… Read More
In URLSearchParams interface, the set() method sets the value given as an input parameter.If there are several values matching the input parameter then it deletes… Read More
In URLSearchParams interface, the toString() method returns a query string which is suitable for use in a URL. Syntax: URLSearchParams.toString() Return:Returns the search parameters serialized… Read More

Start Your Coding Journey Now!