Skip to content

emastho/bun-can-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

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 logo
bun.sh



Backend frameworks

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

Databases

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

ORMs

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

Full stack frameworks

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

Libraries

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

Testing

module github when comments
🟢 jest bun docs 📣 native | progress

GraphQL

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

Web3 / Cryptocurrency

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

About

Answering "does {library} work in Bun?"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published