An exchange-rate service in TypeScript
A small HTTP API for Bank Indonesia exchange rates. I wrote it in TypeScript on Bun because the source data is XML.
- Format
- Entry
- Kind of work
- Employer work
- Organization
- KiriminAja
- Project period
- May 2026
- Contribution
- Proposed the stack and wrote most of the code
- Technologies
- TypeScript, Bun, Hono, Zod, OpenAPI
Bank Indonesia publishes its exchange rates as XML. I parsed XML before in both Node.js and Go, and it was simpler in Node.js. So I proposed TypeScript on Bun, with Hono for the API and Zod for the OpenAPI description. I wrote 36 of its 43 commits, and it runs in production.
- Collaboration
- Team project
- Access
- The code and internal details belong to KiriminAja.
- Published