Month: February 2021

Async Hooks API in Node.js

Introduction: Async Hooks API in Node.js provides an asynchronous API to track the lifetime of multiple asynchronous resources simultaneously. In this blog post, we’ll discuss what the Async Hooks API is, how it works, and how to use it in your own code. Node.js Async Hooks: The Async Hooks API is a set of functions

Read more

How to do SQL injection attack in Node.js

Introduction SQL injection is a common security vulnerability in web applications that allow an attacker to execute malicious SQL queries by manipulating user input. To demonstrate an SQL injection vulnerability in a Node.js application, we can use the following example: Suppose we have a simple Node.js application that retrieves user data from a MySQL database

Read more

How to delete folder in Node.js? fs.rmdir() – Node.js

Introduction In this blog post, we will learn how to delete a folder programmatically in Node.js. Although there are a lot of other ways to delete folders in Node.js one common way is to use a system command. Node.js provides child_process module to execute shell commands. It is not advisable to use child_process module which

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site