Posts

Optimizing Array Search in JavaScript: Using "Set" for Efficient Lookups
Oct 2, 2024 5 min read
Traditional array methods can be slow as data grows, but by using the Set data structure, we can significantly improve performance, making your code faster and more scalable for handling large datasets.
Create T3 App + Lucia - Simple email password Authentication for Nextjs
Dec 27, 2023 2 min read
Implement email+password authentication in your nextjs app with lucia, A more flexible alternative to NextAuth.js
TypeScript type that converts string to number
Dec 15, 2023 5 min read
I found a handy way to convert string to number in TypeScript while solving a Advent of Typescript challenge.
Effectively use @vercel/og image with Astro.js dynamic routes
Dec 15, 2023 7 min read
Use vercel's og image generator api to generate og image for dynamic routes in astro.js static website.

Made with Astro, Tailwind CSS, and Vercel.