I'm Alistair. I work at Anthropic on Bun and Claude Code. I'm interested in things like language specifications and type systems. I've been called a TypeScript wizard at least a few times. It's nice to meet you.
I try to write every now and then, often about stuff I've recently been working on. Hover your mouse here to see the list.
Ambient Declarations
Explaining ambient declarations with @types/bun as an example
Avoiding homework with code (and getting caught)
The eventful tale of me getting fed up with my homework
The 0kb Next.js blog
How I shipped a Next.js app with a 0kb bundle
Serverless Discord OAuth with Next.js
Implementing basic Discord OAuth on Vercel's serverless platform
A strict TSConfig
The strictest TypeScript configuration possible. "Look ma, no errors!"

Some things I've built or worked on.
oven-sh/bun
ZigFast JavaScript runtime, bundler, and package manager. I work on this at Anthropic.
alii/arc
GleamJavaScript on the BEAM. Run JS/TS on the Erlang VM.
alii/al
VA small, statically-typed, expression-oriented programming language.
valtyr/prisma-kysely
TypeScriptGenerate Kysely types directly from your Prisma schema.
kaito-http/kaito
TypeScriptType-safe HTTP framework for TypeScript.
alii/use-lanyard
TypeScriptReact hook for fetching Discord presence through Lanyard.
alii/nextkit
TypeScriptTypesafe API routes for Next.js.
alii/use-last-fm
TypeScriptReact hook for grabbing Last.fm now playing data.
alii/discord-jsx
TypeScriptWrite Discord messages with JSX.
alii/poimandres-terminal
Poimandres theme for the terminal.
alii/linear-style
TypeScriptCSS inspired by Linear's landing page.
alii/azs
TypeScriptA URL shortener.
alii/searchy
TypeScriptFull-text search, written in TypeScript.
alii/permer
TypeScriptBitfield-based permissions in TypeScript.
alii/trisma
TypeScriptPrisma utilities.
alii/typestr
TypeScriptTypeScript type-level string parser.


I'm currently in San Francisco, CA 📍
