Profile avatar
espen.codes
Principal engineer @ Sanity.io. he/him. I code open source software and pet dogs. https://espen.codes/
38 posts 1,042 followers 539 following
Regular Contributor
Active Commenter

Sometimes I wish there was a way to message people on GitHub. Someone leaves an issue or a comment on one of my repos and I'm curious how they are using it, but don't want the interaction to be in public (noise/irrelevant to the thread). Of course, I understand what a slippery slope that could be.

BIG DAY 😇 Introducing Standard Schema! It’s a specification for a standard interface to be implemented by TypeScript schema libraries. The goal is to make it easier for frameworks and tools to accept user-defined schemas, without writing separate adapters for different libraries. standardschema.dev

Is there a way to test a module in React Native's JavaScript environment, without running a full emulator? Does the jest environment catch things like the broken URL and Intl implementation etc? This is a for a generic JS module that should _preferably_ work in React Native.

Y'all, it's happening! React 19 is now `latest` on npm! @react.dev

Today, I released the library we use to drive >200 tests using Gherkin to make sure @sanity.io's Portable Text Editor behaves correctly. Pkg: www.npmjs.com/package/race... Src: github.com/portabletext... PTE Gherkin spec: github.com/portabletext... PTE Gherkin test suite: github.com/portabletext...

Big thanks to libvips team (@jcupitt.bsky.social @lovell.info @kleisauke.nl) for creating a lightning-fast, incredibly reliable image processing library. Some of the nicest open-source maintainers you'll ever meet - polite, helpful and responsive. Happy that @sanity.io sponsored them with $4000 ✨

This release is anything but boring. Mapping "free-form" content into the structured schemas defined in Sanity? Really cool. Can't wait to continue building on this and get closer to realizing the full "content operating system" vision we have in mind - you're going to love it.

Started a start pack (heh) for Norwegian developers: go.bsky.app/N4YoK7s - shoot me some usernames that should be on there (would love to get some more diversity)!

How often do you check your spam folder?

Looking for some help in testing a new version of the EventSource module, now using native fetch and webstreams: github.com/EventSource/...

Fiiiiiiinally shipped AVIF (output) support in Sanity 😅 More to come!

Huge thanks to @sanity.io for sponsoring Rollup with a whopping $3000! This really gives me confidence to keep making Rollup a great tool to use! opencollective.com/rollup/contr...

While we're on the subject of open-source sustainability; giving thanks to open-source maintainers (beyond $$ support) is not something I do often enough. Going forward, I am going to start posting more about the awesome projects, apps, modules and tools that I use.

Proud to be working at a company that recognizes the value of giving back to open-source maintainers and to push towards a more sustainable open-source culture.

Is there a way to track upload progress when using `fetch()` yet? Should be possible using a custom read stream, but unsure if backpressure will work correctly or if you would end up with "read"-progress instead of "send"-progress

There's a gaze of raccoons that stop by our backyard every day, and it's always a highlight of my day watching the videos (mounted a camera on the gate they slip under).

Dad taught me HTML. The next 5 years was spent making “fansites” for video games I liked and FTPing them to our ISPs servers. Those were the days.

I just spent way too long adding every guest to a Syntax starter pack If you want to follow the best devs in web development 👇🏻 go.bsky.app/SoASbQA

👋

Discover weekly gave me 80's polish punk, and I'm surprisingly here for it.

In the US, people say “bless you” when you sneeze - even if you don’t know them.

Listen, if you stop my in the middle of completing my task to ask what my experience was with what you call an pseudo-automated system, I'm going to score you even lower than I would have if you hadn't interrupted me.