Marvin Hagemeister
marvinh.dev
Marvin Hagemeister
@marvinh.dev
I build simple and fast things. Part of Preact team.
Making chains of middlewares type-safe seems to require a bit of dancing around with types.

See github.com/microsoft/Ty...
September 24, 2025 at 12:26 PM
Good idea, didn't check that. It looks like @std/semver is faster for validation, but way slower for calling `satisifes`. First image is validate + satisfies, second is satisfies only
August 10, 2025 at 12:32 PM
TIL: `path.relative()` can return absolute paths on windows.

This is beyond cursed.
August 6, 2025 at 5:07 PM
Well looks like I lied!

(All of that is coming from snapshot tests though)
January 10, 2025 at 6:46 PM
Let's start the year strong! Dropping this banger of a PR on my work colleagues tomorrow.

It's way too big, but it's worth it. More will be revealed soon!
January 9, 2025 at 11:38 PM