Migrating a TypeScript app from Node.js to Bun is not a particularly good name but I’m not going to change it now. I want to be able to run my code in a runtime that isn’t node.js and still use npm packages.
Table of contents
Setting up the ts-node appInstalling BunPorting the install from Yarn to BunSwitching from @types/node to bun/typesAddressing moduleResolution with BunFiling APIs with BunRunning the appOver 200k developers use LogRocket to create better digital experiencesTop-level await and BunGitHub Actions and BunPerformance comparison: Bun vs. ts-nodeConclusionLogRocket : Full visibility into your web and mobile apps200’s only Monitor failed and slow network requests in productionSort: