rlee.devHow To Use an ESM dependency in a library that exports ESM+CJSA common problem Typescript library developers face is when importing libraries that only output ESM. For example [the standard library (@std) from the JSR repo](https://jsr.io/@std) only outputs ESM as according to Deno’s mandate. However for most T...Dec 17, 2024·2 min read
rlee.devHow to Self Host Trigger.dev V2 the Right WayIf you're looking to use https://trigger.dev/, and want to use V2 you're going to want to self host since they aren't offering new customers to the V2 cloud platform. First create an account at https://www.doppler.com/ and create a new project called...Jun 5, 2024·2 min read
rlee.devPractical Use Cases for Effect-TS: Polling AI APIsIntro If you're new to Effect-TS, this is the start of a mini series where we'll explore practical use cases for it. Looking back at fp-ts, Effect-TS is a significant improvement because it enables true functional programming in a concurrent environm...Apr 14, 2024·3 min read
rlee.devRust Pattern Matching Examples for Typescript DevelopersIntroduction The reason why Typescript and Rust has been steadily gaining adoption is the superiority of their type systems compared to conventional programming languages like Java or Python. One thing that stands out about their type systems is thei...Jan 18, 2021·8 min read
rlee.devPractical Guide to Fp-ts P6: The Do Notation⚠️ Disclaimer Warning fp-ts is now dead. Please use effect-ts instead. Update 2024: effect-ts is the recommended library for functional programming in TypeScript. Introduction Welcome back to Part 6 of The Practical Guide to fp-...Nov 30, 2020·7 min read