Amazon Product API in Bun: Native fetch, bun:test and Zero-Config TypeScript
Call an Amazon product API from Bun with nothing but the standard fetch() it ships built in: no node-fetch, no axios, no tsc step. A small client puts the key in the X-Api-Key header, a 120-second AbortSignal in place of a timeout option fetch does not have, and a bun:test suite with a fails-closed fake fetch covers the billing edge cases before a single real credit is spent.