Skip to content
October 20, 2026
Newsletter
Random News
TechRadiant

TechRadiant

Your Destination for Tech News, Reviews, AI News and AI Articles

  • AI
  • Javascript
  • React
  • Bash
  • Git
  • Magento
  • Mysql
  • Redis
  • Frontend
  • Backend
    • PHP
    • Laravel
    • Redis
  • Home
  • js

Tag: js

Javascript Logo
  • Javascript

How to add a comment in a json content?

Techradiant4 years ago4 years ago02 mins

< 1 min readJSON (JavaScript Object Notation) is a lightweight data-interchange format that does not support comments. This means that you cannot add comments directly to a JSON file or content. However, you can use a JSON-like syntax called JSON5, which allows comments and other features not present in standard JSON. JSON5 is not a standard, but it…

Read More
  • Javascript

How to list npm user-installed packages?

Techradiant4 years ago4 years ago02 mins

< 1 min readTo list the npm packages that you have installed in your project, you can use the npm list command. This command lists all of the dependencies and devDependencies in your project, as well as their dependencies, recursively. Here’s an example of how to list all of the npm packages in your project: This command will…

Read More
  • Javascript

how to create a directory if it doesn’t exist in node js?

Techradiant4 years ago4 years ago03 mins

2 min readTo create a directory in Node.js, you can use the fs (file system) module and the fs.mkdir() function. This function takes a path and an optional options object, and creates the directory at the specified path. Here’s an example of how to create a directory if it doesn’t exist: In this example, we first check…

Read More

Sponsored

  • Top 5 Plugins to Install in Claude Code
  • Top 12 AI Video Generators in 2026 (Compared by Use Case)
  • How to Push a Docker Image to Docker Hub (Step-by-Step Guide)
  • Meet Jev: The AI Model That Makes Decisions Instead of Sentences
  • How to use Claude Code for Free?
TechRadiant 2026. Powered By BlazeThemes.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT