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…May 15May 15
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…Apr 26Apr 26
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…Apr 19Apr 19
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…Apr 10Apr 10
saransh katariainJavaScript in Plain EnglishObject destructuring in TypeScriptLet us take a look at the right way to do object destructuring in TypeScript with typesMar 28Mar 28
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.Mar 19Mar 19
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.Mar 13Mar 13
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…Sep 28, 2021Sep 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…Sep 13, 2021Sep 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…Sep 9, 2021Sep 9, 2021