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 |