Electron open file explorer with file selected43 sec read

After creating a file and writing it to the disk, its nice to show the user the location of the newly created file in the system file explorer. At the time of writing this there is no option in electron for opening the system file explorer with a file selected. So, like every programmer does […]

GST(Indian) check digit validation algorithm2 min read

GST number validation is done through 2 steps Check if there is a character in position of a character and a number in position of a number. Validate the check digit that is the last character in the GST no. with  Luhn mod N algorithm (https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm) An implementation in javascript let GST = { /* Luhn […]

Creating a Javascript load more plugin part 2 – Searching2 min read

In the first part Creating a Javascript load more plugin part 1 , we have created a javascript plugin which loads data from an API page. Let’s build upon on it. Today we are going to add search option to our plugin, children ? . Objectives ? Add search bar to the page. On input on search bar, load in […]