Skip to content

Category Archives: Node.js

One of the fundamental tasks of any web application is to communicate with servers through the HTTP protocol. This can be easily achieved using Fetch… Read More
Node.js follows the commonJS module system, and it require to include modules that exist in separate files and for that purpose it has methods like… Read More
NPM: The npm stands for Node Package Manager and it is the default package manager for Node.js. It is written entirely in JavaScript, developed by… Read More
SMS is a common method of sending short messages between cell phones, but these SMS can be sent to multiple users at a time using… Read More
Introduction: Node.js is a platform designed to build network applications. It is a server-side, open-source environment that allows you to develop a scalable network application.… Read More
The fs.readdir() method is used to asynchronously read the contents of a given directory. The callback of this method returns an array of all the… Read More
The crypto.createDiffieHellmanGroup() method is an inbuilt application programming interface of the crypto module which is used to create a DiffieHellmanGroup. Syntax: crypto.createDiffieHellmanGroup( name ) Parameters:… Read More
The crypto.createDiffieHellman() method is used to create a DiffieHellman key exchange object. Also, creates prime of primeLength bits with the help of an optional specific… Read More
The crypto.privateDecrypt() method is used to decrypt the content of the buffer with privateKey.buffer which was previously encrypted using the corresponding public key, i.e. crypto.publicEncrypt().… Read More
The fs.readFileSync() method is an inbuilt application programming interface of fs module which is used to read the file and return its content. In fs.readFile() method,… Read More
The fs.lstat() method is similar to the fs.stat() method except that it is used to return information about the symbolic link that is being used… Read More
The crypto.createDiffieHellman() method is used to create a DiffieHellman key exchange object by using the stated prime and an optional specified generator.Syntax:   crypto.createDiffieHellman( prime, primeEncoding,… Read More
The crypto.generateKeyPair() method is an inbuilt application programming interface of crypto module which is used to generate a new asymmetric key pair of the specified… Read More
The os.getPriority() method is an inbuilt application programming interface of the os module which is used to get the scheduling priority of the process specified… Read More
The writable._write() method is an inbuilt application programming interface of Stream module which is used to implement a writable stream. The writable._write() method is affixed… Read More

Start Your Coding Journey Now!