saransh katariaCopy/Pasting output from the terminalManually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is more convenient to use commands to do so…2 min read·3 days ago----
saransh katariainJavaScript in Plain EnglishHow To Get The Hash of A File In Node.jsWhile working on a project, I wanted to do an integrity check of a file that I was referencing. So, I needed to know how to get the hash of…2 min read·Apr 26, 2024----
saransh katariainJavaScript in Plain EnglishNative Popover API in HTMLPopovers have been a problem that was typically solved by using a third-party solution. But that is no longer the case. We now have a…3 min read·Apr 19, 2024----
saransh katariainJavaScript in Plain EnglishNode.js 20.6 adds built-in support for .env filesNode.js 20.6 added built-in support for the .env file. This is an excellent addition to the platform and gives us the ability to load…3 min read·Apr 10, 2024----
saransh katariainJavaScript in Plain EnglishObject destructuring in TypeScriptLet us take a look at the right way to do object destructuring in TypeScript with types2 min read·Mar 28, 2024----
saransh katariaImprove git clone performance in a CI pipelineLet us take a look at a simple but powerful technique to significantly improve git clone performance.2 min read·Mar 19, 2024----
saransh katariainJavaScript in Plain EnglishFix: Hydration failed because the initial UI does not match what was rendered on the serverLet us look at all the possible reasons and potential fixes for the error.4 min read·Mar 13, 2024----
saransh katariainJavaScript in Plain EnglishHow to Convert a React Component to an ImageSometimes you want to give the users the ability to download a part of the web application as an image. In that case, you want a way to…2 min read·Sep 28, 2021----
saransh katariainJavaScript in Plain EnglishHow to Specify a Node Version in Repl.itI was recently trying to use a later version of Node on Repl.it. I wanted to use a package that supported ES Modules, and the default…2 min read·Sep 13, 2021----
saransh katariainJavaScript in Plain EnglishAccess the Clipboard in JavaScriptDevelopers are probably the laziest people on the planet. And of all the things, copy-paste is our favorite keyboard shortcut. But what is…2 min read·Sep 9, 2021----