Files
ObsidianHome/01 - Notes/Fleeting/Bun 1.0 dropped.md

17 lines
936 B
Markdown

---
tags:
- homelab
- web
relates-to: "[[Bun]]"
note: fleeting
---
So [[Bun]] dropped in 1.0 and it seems really powerful as a drop-in replacement for [[Node JS]]. It runs tests faster than [[Vitest]], builds and runs [[Typescript]] like there's no tomorrow and has a built-in package manager that's supposed to be way better than `npm`.
I'd like to test Bun with [[Astro]] as a full stack framework. [[Nuxt]] seems to work on it as well if SPA or high-interactivity is needed. Finally it should run [[Vue]] fine in [[Tauri]].
The thing I'm curious about though is the usage of a backend framework like [[Elysia]]. Elysia seems to only take care of the backend but is made for performance on top of bun for something like [[REST API]], [[Websocket]] API, that kind of stuff. It could be a good fit for anything that doesn't need a UI. It's the javascript equivalent of [[Fast API]] in python.
---
# References
- https://bun.sh/