Gaurav Sachdeva

  • Home
  • Blog
  • Articles
    • Programming
    • JavaScript
    • Node.JS
    • TypeScript
    • Technology
  • Projects
  • ‎

Archives


NPM vs Yarn vs PNPM: Which Package Manager Should You Use?

npm, Yarn, and pnpm are JavaScript package managers used in Node.js projects. This article explains their technical differences, commands, performance, and which one to choose for modern web development.

05/Feb/26 • 3 min read

CommonJS vs ES Modules: Understanding the Difference

A friendly walk through CommonJS and ES Modules—why both exist, how they work, and when you should use which—without drowning in jargon.

05/Dec/25 • 3 min read

Custom React Hooks

Custom hooks let you reuse code in your React apps. In this post, you’ll learn how to make your own custom hook with simple examples.

18/May/25 • 2 min read

Closures in JavaScript

Closures are a powerful feature in JavaScript that allows functions to remember variables from their outer scope, even after that scope has exited. This article breaks down what closures are, how they work, and where you can use them effectively in real-world code.

06/Apr/25 • 2 min read

JavaScript: var, let & const

Learn the key differences between var, let, and const in JavaScript.

22/Jan/25 • 2 min read

Fetch Favicon for any domain/ URL with this easy trick

Need favicons for your app or extension? Google’s Favicon API makes it easy to fetch favicons from any domain with a simple URL. Perfect for prototyping and adding visual polish to bookmarks, dashboards, and more.

12/Nov/24 • 1 min read

Why I love Astro.JS? (Not Sponsored)

Astro surprised me with its speed, simplicity, and SEO benefits—here’s why it’s become my new go-to framework.

28/Oct/24 • 3 min read

Decorators in JavaScript

Discover how decorators in JavaScript can simplify code and enhance functionality. Learn about their usage, syntax, and examples to streamline your development process.

15/Sep/24 • 3 min read

Regular Expressions (Regex)

Regular Expressions, commonly known as Regex, are powerful tools for searching and manipulating strings. Whether you’re validating input, searching for patterns in text, or extracting data, mastering regex can significantly enhance your coding efficiency. In this article, we’ll dive into the essentials of regex, how it works, and practical examples to get you started. What […]

14/Aug/24 • 3 min read

JWT
JSON Web Tokens (JWT): The Secure Way to Authenticate Users

In the world of web development, making sure users are who they say they are is crucial. JSON Web Tokens (JWT) have become a popular way to handle user authentication. In this blog post, we’ll explain what JWTs are, how they work, and why they’re a good choice for authentication. What is a JSON Web […]

02/Aug/24 • 3 min read

Posts pagination

1 2 Next
  • Home
  • Blog
  • Articles
  • Projects
  • Resources
  • Testimonials
  • Contact
  • Domains
  • About
© 2017-2026 | www.gauravsachdeva.in