Introduction In data science and machine learning, cosine similarity is a measure that calculates the cosine of the angle between two …
TypeScript
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 …
Where Did All The TypeScript Haters Go?
TypeScript is a statically-typed superset of JavaScript introduced by Microsoft in 2012. It's a language that some developers love to hate, …
Creating a Secure Password Generator Using TypeScript
Password generation is something you're hopefully using a password manager for these days. However, you might not be aware that modern …
Sentiment Analysis Using TypeScript Without Dependencies
Sentiment analysis is usually a task that requires a specialised dataset and machine-learning techniques to implement properly. However, I …
How to Extend the Window Object in TypeScript
In many cases when you're working with TypeScript, there are type definitions available for almost every package out there. However, in …