Create and Publish Your First CLI Using Typescript

Following my previous blog post 5 Cli Tools That Will Increase Your Dev Velocity And Code Quality I wrote a quick guide on how to write and publish a CLI. What’s in it for you? Write a cool as f*** CLI tool. Learn how to set up a project using Typescript. Publish your new shiny CLI to npm. setup We will use Scaffolder to generate all the boilerplate we need for our shiny CLI....

February 8, 2021 · 5 min · 1054 words · Gal Elmalah

5 CLI Tools That Will Increase Your Velocity and Code Quality

Everyone likes CLI’s (or maybe it’s just me). I have compiled a list of the CLI’s I use on a daily basis, some are well known some are less so, but all of them help me get things done faster and some even help me keep my code cleaner. This list is ordered from most used to least used on a daily basis. 1. z - Go from A to Z with ease This one will make you look like a ninja and help you boost your productivity!...

November 9, 2020 · 3 min · 484 words · Gal Elmalah

Visualizing Bubble Sort in 5 Minutes Using HTML5 Canvas API

For most developers, bubble sort is one of the first algorithms we learn. Therefore, visualizing it can be highly satisfying and feels a bit like meeting an old friend after a long time. This article will take you through visualizing the bubble sort algorithm using HTML5 canvas API. If you would like to jump straight to the results and have a look at the code, here is a codepen. In the meantime, below is a little sneak peek of what we are going to accomplish here....

November 2, 2020 · 3 min · 597 words · Gal Elmalah

9 Great Tips To Use Javascript Array Methods Like a Pro!

As a developer, I always reflect upon the code I write and read. Through this process, I have collected a bunch of useful tips. In this post, I’m going to share those tips that relate to array methods. Although I’m talking about array methods, these tips apply in other situations. Keep them in mind while you code. The tips Some are better naming conventions and rules on when to apply them....

October 7, 2020 · 7 min · 1392 words · Gal Elmalah