JavaScript has been around for over 25 years, yet it's more popular and dominant than ever. Some love to hate it, others grudgingly put up …
Javascript
Generating Licence Keys with TypeScript
I'm always looking for fun little coding challenges that are not full projects, and I thought I would do a fun little licence key generator …
Unveiling the Power of JavaScript Proxies: Objects, Arrays, and Beyond
In the vast, evolving landscape of JavaScript, there's a feature that stands out for its versatility and power yet remains underappreciated …
Crafting Cosine Similarity Calculations in TypeScript: A Comprehensive Guide
Introduction In data science and machine learning, cosine similarity is a measure that calculates the cosine of the angle between two …
How to Implement Token Bucket Rate Limiting In NestJS
Rate limiting is a crucial aspect of building scalable and secure web applications. It helps prevent abuse and ensures the fair usage of …
How to parse VIN numbers using TypeScript
In this blog post, we'll create a simple TypeScript module for parsing Vehicle Identification Numbers (VINs). VIN is a unique 17-character …
How to Build a Key Generator with TypeScript
Today, we're going to build a license key generator. This flexible generator will allow you to create keys of varying lengths and segment …
Ten TypeScript Tricks for Writing Super Clean Code
In this post, I am going to go over a few TypeScript features that will make your code cleaner and strongly typed. You might already be …
Why You Should Be Using globalThis Instead of Window In Your Javascript Code
I hate to be "that guy" that publishes a blog post and says, "Stop using X" and "Why you should be using X instead", but after a recent …