Author: TopCode

How to execute shell commands in Node.js?

Introduction If you ever wanted to run system commands in Node.js? Obviously, the answer is a big “Yes”. If You want to reduce your workload then you have to automate stuff in your production environment. One way to use Bash script to automate things but what will happen if you are not good at Bash

Read more

DNS module in Node.js

Introduction: DNS module is a core module of Node.js that provides developers with an interface to the Domain Name System (DNS). It allows you to do things like get and set DNS records, as well as resolve hostnames and IP addresses.  The DNS module is important because it helps you communicate with name servers around

Read more

RSS reader in Node.js

Introduction: An RSS (Really Simple Syndication) feed is an online file that contains information about every piece of content a website has published. The information includes a summary, content, publication date, author, publisher name, link and other metadata. Almost every news website provides its RSS feed which can be integrated in other websites. Generally, an

Read more

How to Become a Successful Programmer

Programming has become a popular career choice for many people. There is a demand for experienced and talented software developers in all industries, from finance and healthcare to gaming, media, and retail. From coding boot camps to online training, there are numerous ways to learn to program and become a successful programmer. Here’s a guide

Read more

HTTP Rest Client in Node.js: Everything You Need to Know

In a world where everything is interconnected, the network has become one of the most important pieces of infrastructure in our lives. And within that network, APIs have become one of the most valuable resources we have.  APIs are how businesses expose their internal data and functionality to the outside world, so any developer who

Read more

Why String is immutable or final in Java? Immutable String in java.

If you are preparing for a java interview then this is one of the most interesting question you will encounter. Immutability means once created can not be changed. If someone changes the string object then new object will be created. For Java world, String Class is heart of Java language. If we talk about another

Read more

How to fix: Express.js request body is undefined.

Introduction If you are using the latest express version in Node.js then you may face the above exception while accessing HTTP request body. In the earlier versions of express, there was no such type of issue in the library. In the update of July2020, express.bodyParser() is no longer bundled as part of express. Therefore User need

Read more

Advantages of Java:

Introduction: Java is a popular and versatile programming language that has been around since 1995. It is an object-oriented language with syntax similar to C and C++ which makes it easy to learn. There are a number of key advantages to using Java over other programming languages, such as: Advantages:

Read more

How to create symlinks in Node.js? Symbolic link with Node.js

Introduction A symbolic link (also symlink or soft link) is a term for any file that contains a reference to another file or directory in the form of an absolute or relative path. Node.js built-in fs module provides APIs to create symlink. fs.symlink() method is used to create a symlink to the given path asynchronously. fs.symlinkSync() method is used to

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