The developer of the BEnder boilerplate has updated it to achieve true runtime agnosticism. Previously, BEnder assumed specific frameworks for Node.js and Bun. This assumption was incorrect due to the evolution of the ecosystem. Bun now offers robust Node.js compatibility, allowing it to run Node.js frameworks like Express and Fastify. Furthermore, Hono has become a web-standard framework capable of running universally, including on Node.js.
The BEnder update prioritizes the installed framework over the runtime, enabling users to mix and match. For instance, Express, Fastify, and Koa can all run on both Node.js and Bun. Hono is also compatible with both runtimes. Elysia, however, remains Bun-only within BEnder due to its deep integration with Bun's internal APIs.
Running Hono on Node.js is now possible through the `@hono/node-server` adapter, which BEnder automatically applies. This integration ensures a seamless experience when using Hono on Node.js. Similarly, running Express and Fastify on Bun is straightforward due to Bun's excellent Node.js compatibility layer. The update allows developers to freely choose their preferred runtime and framework combination for their projects.
dev.to
dev.to
Create attached notes ...
