Skip to content

Category Archives: Node.js

The crypto.scryptSync() is an inbuilt function which Provides a synchronous scrypt implementation in Node.js. scrypt is a password-based key derivation function. It is intended to… Read More
The process.hrtime() method to measure code execution time which returns array which include current high-resolution real time in a [seconds, nanoseconds]. We measure the code… Read More
The Query String module used to provides utilities for parsing and formatting URL query strings.It can be used to convert query string into JSON object… Read More
Node.js is an open-source and cross-platform runtime environment for executing JavaScript code outside the browser. It is widely used in developing APIs and microservices from… Read More
So here we will use JSON to communicate between two programs called Java and Node.js. We can use a common text format to communicate, but… Read More
Template Engine : A template engine basically helps us to use the static template files with minimal code. At runtime, the template engine replaces all… Read More
Error-First Callback in Node.js is a function which either returns an error object or any successful data returned by the function. The first argument in… Read More
This method provides a synchronous HMAC-based Extract-and-Expand Key Derivation Function key derivation. Key of keylen bytes is derived using digest, given key, salt and info.… Read More
On the specified str, the querystring.unescape() method decodes URL percent-encoded characters. This method converts a percent-encoding string into a normal string. It means it decodes… Read More
Most of the popular browsers today automatically handle the display of raw data output from API on the Web interface. To do this we just… Read More
EJS is a simple templating language that lets you generate HTML markup with plain JavaScript. It is possible to access JS variable in .ejs file.… Read More
Node.js supports modules and packages that can be installed using NPM, which allows us to exploit various functionalities. One such functionality is syntax highlighting using… Read More
The following approach covers how to pass/access node.js variable to an HTML file/template. We will build a basic Node.js application that will let you show… Read More
We are going to use the query function in MySQL library in node.js that will return our output as expected. Using this approach, we can… Read More
In this article I’m showing you how to redirect users using ExpressJS. First of all, when you want to redirect the user? Here are some… Read More

Start Your Coding Journey Now!