At the current state of Bun, there is a higher chance of a library not in this list to be working than to not.
If a library doesn't work - it's a bug and you should create an issue.
bun.sh
Most of the native frameworks are way more performant than node ports.
name | github | when | comments | |
---|---|---|---|---|
🟢 | Elysia | https://github.com/elysiajs/elysia | has oauth2, graphql, trpc plugins, ws | |
🟢 | Stric | https://github.com/bunsvr | ws | |
🟢 | Vixeny | vixeny | functional programming, fp | |
🟢 | Fluxify | fluxify | ||
🟢 | Hono | https://github.com/honojs | has graphql, trpc middleware | |
🟢 | Express | https://github.com/expressjs/express | ||
NestJS | https://github.com/nestjs/nest | 0.7 | has interest |
module | github | when | comments | |
---|---|---|---|---|
🟢 | pg | brianc/node-postgres | ||
🟢 | postgres | https://github.com/porsager/postgres | ||
🟢 | mongoose | Automattic/mongoose | 0.7 | works, but issue |
🟢 | mongodb | mongodb/node-mongodb-native | 0.7 | same as mongoose, discord issue |
🟢 | mysql2 | sidorares/node-mysql2 | ||
🟢 | redis | https://github.com/redis/node-redis | ||
🟢 | bun:sqlite | https://bun.sh/docs/api/sqlite | 📣 native |
module | github | when | comments | |
---|---|---|---|---|
🟢 | Prisma | https://github.com/prisma/prisma | ||
🟢 | DrizzleORM | DrizzleOrm | ||
🟢 | great.db | https://github.com/tr1ckydev/great.db | sqlite only | |
🟢 | duckdb | https://github.com/duckdb/duckdb | ||
🟢 | BunORM | https://github.com/deadlinecode/BunORM | sqlite only |
name | github | when | comments | |
---|---|---|---|---|
🟢 | Astro | https://docs.astro.build/en/recipes/bun/ | thats Astro, you can use whatever | |
🟢 | SvelteKit | https://github.com/sveltejs/kit | 0.7 | svelte-adapter-bun |
Qwik | https://github.com/BuilderIO/qwik | 0.7 | ||
Next.js | https://github.com/vercel/next.js | 0.6.7 | react | |
🟢 | Vite | https://github.com/vitejs | ||
🟢 | Buchta | https://github.com/Fire-The-Fox/buchta | discontinued |
module | github | when | comments | |
---|---|---|---|---|
🔧 | nodemailer | nodemailer | 0.7 | issue |
🟢 | dotenv | Bun docs | 📣 native | Bun.env or process.env | |
🟢 | zod | colinhacks/zod | schema validation | |
🟢 | bcrypt | Bun docs | 📣 native | |
🟢 | stripe | stripe/stripe-node | 0.6.14 | should work | payments |
🟢 | Discord.js | discordjs/discord.js | no voice chat | |
🟢 | sharp | lovell/sharp | image | | |
🟢 | Jimp | jimp-dev/jimp | image | | |
🟢 | jose | panva/jose | JWA, JWS, JWE, JWT, JWK, JWKS | |
🟢 | jsonwebtoken | node-jsonwebtoken | ||
🟢 | jwt-simple | node-jwt-simple | ||
🟢 | oauth4webapi | panva/oauth4webapi | oauth openid | |
🟢 | puppeteer | puppeteer/puppeteer | ||
🟢 | webview-bun | webview-bun | webview bindings | |
🟢 | @clack/prompts | natemoo-re/clack | terminal | |
🟢 | compression | compression | ||
🟢 | ts-pattern | ts-pattern | pattern matching | |
🟢 | chalk | chalk/chalk | terminal | |
🟢 | commander | commander | terminal | |
🟢 | lodash | lodash/lodash | utils | |
🟢 | underscore | underscore | utils | |
🟢 | bun-promptx | bun-promptx | terminal | |
🟢 | Inquirer | Inquirer.js | 0.6.8 | terminal, issue |
🟢 | @googlemaps/google-maps-services-js | google-maps-services-js | issue closed, should work | |
🟢 | bkg | bkg | bun into single executable | |
🟢 | otpauth | hectorm/otpauth | one time password (HOTP/TOTP) | |
🟢 | fp-ts | gcanti/fp-ts | ||
🟢 | purify-ts | gigobyte/purify | fp but with method chaining | |
🟢 | garph | stepci/garph | end-to-end type-safe graphql | |
canvas | canvas | 0.6.7 | @napi-rs/canvas may work | |
🟢 | ldapjs | ldapjs | should work, because ldap-authenticate uses it underneath | |
🟢 | ldap-authentication | ldap-authentication | should work | |
🟢 | runtimey | runtimey | detect js runtime |
module | github | when | comments | |
---|---|---|---|---|
🟢 | jest | bun docs | 📣 native | progress |
module | github | when | comments | |
---|---|---|---|---|
🟢 | @apollo/server | https://github.com/apollographql/apollo-server | ||
🟢 | graphql | https://github.com/graphql/graphql-js | ||
🟢 | graphql-yoga | https://github.com/dotansimha/graphql-yoga |
module | github | when | comments | |
---|---|---|---|---|
🔧 | Web3 | web3/web3.js | 2023.05.28 | only works if required const Web3 = require("web3/dist/web3.min.js"); |
🟢 | Viem | wagmi-dev/viem |