NGNandkumar Gangaiinngangai.hashnode.dev·Aug 17, 2025 · 2 min read🚀 Installing node-canvas on Mac M1 Without TearsThis guide helps you set up node-canvas on Mac M1 by addressing common dependency issues. Ensure you have Homebrew, Node.js, and necessary native libraries installed. Adjust your environment variables if needed, and then install node-canvas. Verify t...00
NGNandkumar Gangaiinngangai.hashnode.dev·Jan 16, 2025 · 2 min readThe "process" objectThis article covers the use of `process.env` and `process.argv` in Node.js for handling environment variables and command-line arguments, respectively. It explains how to pass and access custom environment variables dynamically, such as setting a dif...00
NGNandkumar Gangaiinngangai.hashnode.dev·Jan 16, 2025 · 2 min readUnderstanding JavaScript Timers: Key Concepts and ExamplessetTimeout setInterval setTimeout Used to delay the execution by given time. It accepts two arguments first one is a callback function with executable statements, second is time in milliseconds. It executes the callback only once after provided ti...00
NGNandkumar Gangaiinngangai.hashnode.dev·Jan 16, 2025 · 3 min readEasy Steps to Begin Working with Node.jsNode.js — A wrapper around V8 with built-in modules providing rich features through easy-to-use asynchronous APIs. Why Node — Wrapper around V8 Built-in modules (fs, http, crypto, zip, …) Asynchronous APIs (no threads) Debugger and other utilitie...00
NGNandkumar Gangaiinngangai.hashnode.dev·Jul 18, 2024 · 1 min readHow to Manage Events in ReactEvent handlers are functions that will be triggered in response to interactions like clicking, hovering, focusing form inputs, and so on. const App = () => { const handleClick = () => { console.log('Clicked') } return <Button onC...00