Crunching data from my local files, with SQL, is a task that I come across ever so often. I was never happy with the CLI tools out there and I’m not interested in signing up for some cloud product. So, when I got started with bun a few months ago I immediately saw a way to make use of bun:sqlite !
TypeScript Enums are simple, yet powerful feature that can enhance code readability and simplify refactoring. But, there’s some situations where I think you’re better of with a Record…
It sometimes feels like TypeScript has multiple ways to do the same thing. So, I don’t blame you if you’re not sure about all the pros and cons of using TypeScript’s Record type. It’s a powerful utility, but it has some nuances and potential pitfalls that dev teams can run into.
Bun is a new JavaScript runtime that is redefining the developer experience and setting some pretty high standards when it comes to performance. As of Feb-24, I’ve not yet had the opportunity to deploy a "serious" project with it, but everything I’ve seen so far is really exciting!
Join me on a deep-dive into simple art, yet wonderful, art of removing items from an array in JavaScript. Known or unknown index? One or more items? Primitives or objects? We can handle it all!
Looking to convert different types of strings into numbers? Integers, Floats, Decimals, Big Numbers, base 16… there’s so much that can go wrong! Let’s go over all the pitfalls and gotchas in JavaScript number parsing!