Bun is joining Anthropic & Anthropic is betting on Bun →BuildDocsReferenceGuidesBlogDiscordBun v1.3.14Bun.Image — a built-in image processing API, 7x faster warm installs with the isolated linker's global store, experimental HTTP/2 and HTTP/3 cli...Bun v1.3.13bun test --parallel, --isolate, --shard, and --changed, bun install streams tarballs to disk using 17x less memory, source maps use 8x less memo...Bun v1.3.12Render Markdown in the terminal with bun ./file.md, Bun.WebView headless browser automation, in-process Bun.cron() scheduler, async stack traces...Bun v1.3.114 MB smaller on Linux. x64 Bun.cron for OS-level cron jobs and expression parsing, Bun.sliceAnsi for ANSI/grapheme-aware string slicing, richer ...Bun v1.3.10New native REPL, --compile --target=browser for self-contained HTML, TC39 standard ES decorators, Windows ARM64 support, barrel import optimizat...Bun v1.3.9Run multiple scripts in --parallel or --sequential. bun:test mock & spyOn get Symbol.dispose support. ESM bytecode compilation. Faster Bun.markd...BuildDocsReferenceGuidesBlogDiscordBun v1.3.14 is here! →test runnerpackage managerView install scriptView benchmark →Bunv1.2Denov2.1.6Node.jsv23.6.0Bun.serve()v1.2Deno.serve()v1.2.6ws (Node.js)v23.6.0View benchmark →Bunv1.2.22Node.jsv24.8.0Denov2.5.1View benchmark →JavaScript RuntimeStarts 3x faster than Node.jsA fast JavaScript runtime designed as a drop-in replacement for Node.js$ bun ./index.tsNode.js API compatibilityTypeScript, JSX & React (zero config)Comprehensive builtin standard libraryPostgreSQL, Redis, MySQL, SQLiteHot & watch mode built-inEnvironment variables with .envPackage Manager30x fasterInstall packages up to 30x faster than npm with a global cache and workspaces$ bun installSimple migration from npm/pnpm/yarnEliminate phantom dependenciesWorkspaces, monoreposLifecycle scripts & postinstall handlingDependency auditing with bun auditBlock malicious packagesTest RunnerReplaces Jest & VitestJest-compatible test runner with built-in code coverage and watch mode$ bun testJest-compatible expect() APISnapshot testingWatch mode & lifecycle hooksDOM APIs via happy-domBuilt-in code coverageBundlerReplaces Vite and esbuildBundle TypeScript, JSX, React & CSS for both browsers and servers$ bun build ./app.tsxTypeScript & JSX built-in (no config)CSS imports & bundlingBuild for the browser, Bun, and Node.jsSingle-file executables.html, .css, .ts, .tsx, .jsx & moresingle file executablesLearn about single file executablesDeploy on RailwayWebSocket serverLearn about Bun's WebSocket serverNode.js compatibilityAiming to be a drop-in replacement for Node.js appsWeb Standard APIsSupport for web standard APIs like fetch, URL, EventTarget, Headers, etc.Native AddonsCall C-compatible native code from JavaScriptTypeScriptFirst-class support, including "paths" enum namespaceJSXFirst-class support without configurationModule loader pluginsPlugin API for importing/requiring custom file typesPostgreSQL, MySQL, and SQLite driversConnect to any SQL database with one fast, unified APIS3 Cloud Storage driverUpload and download from S3-compatible storage, built-inRedis clientRedis client built into Bun with Pub/Sub supportWebSocket server (including pub/sub)WebSocket server built into Bun.serve() with backpressure handlingHTTP serverLightning-fast HTTP server built into BunHTTP routerRoute HTTP requests with dynamic paths and wildcards, built into Bun.serve()Single-file executablesCompile your app to a standalone executable that runs anywhereYAMLYAML is a first-class citizen in Bun, just like JSONCookies APIParse and set cookies with zero overhead using a Map-like APIEncrypted Secrets StorageStore secrets securely using your OS's native keychainnpm package managementInstall, manage, and publish npm-compatible dependenciesBundlerBuild production-ready code for frontend & backendCross-platform $ shell APINative bash-like shell for cross-platform shell scriptingJest-compatible test runnerTesting library compatible with the most popular testing frameworkHot reloading (server)Reload your backend without disconnecting connections, preserving stateMonorepo supportInstall workspaces packages and run commands across workspacesFrontend Development ServerRun modern frontend apps with a fully-featured dev serverPassword & Hashing APIsbcrypt, argon2, and non-cryptographic hash functionsString Width APICalculate the width of a string as displayed in the terminalGlob APIGlob patterns for file matchingSemver APICompare and sort semver stringsCSS color conversion APIConvert between CSS color formatsBun.serve()HTTP & WebSocket serverroutesBuilt-in routing with dynamic pathsrequest.cookiesZero-overhead cookie parsingBun.sqlPostgreSQL, MySQL, SQLiteBun.s3S3-compatible cloud storageBun.redisRedis client with Pub/SubBun.file()Fast file reading & streamingBun.GlobFast file pattern matchingBun.write()Write files efficientlybun testJest-compatible test runnersnapshotsSnapshot testing built-inexpect()Jest-compatible assertionsbun buildFast bundler with tree-shaking--compileSingle-file executables--hotHot reload without restartsTypeScript & JSXNo config requiredimport "*.yaml"YAML & TOML importsimport "*.css"CSS & asset importsBun.passwordbcrypt, argon2 hashingBun.CSRFCSRF token generationBun.secretsOS keychain integrationBun.$Cross-platform shell scriptingBun.spawn()Spawn child processesbun:ffiCall native C/C++ librariesBun.hash()Fast hashing utilitiesBun.semverVersion comparisonBun.escapeHTML()HTML escaping & sanitizationLearn more about frontend with Bun →View benchmarkTry itTry itDocumentationGet started with Bun and learn how to use all of its featuresAPI ReferenceExplore the complete API reference for Bun's runtime and toolkitReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
智能索引记录
-
2026-05-12 08:32:05
综合导航
成功
标题:声测管厂家供应商价格低的声测管厂实体厂家(更新时间:2026-05-12 08:32:05)
简介:选购价格低的声测管厂实体厂家认准南京市建邺区宝益德钢管(南京市建邺区分公司),我们是厂家直销,产品型号齐全,确保您购买的
-
2026-05-13 18:30:43
综合导航
成功
标题:新泰泰安热风锅炉_食品专用热风炉生产型报价(更新时间:2026-05-13 18:30:43)
简介:恒达蒸汽燃气燃油锅炉厂家(泰安市新泰市分公司)【15638116266】在泰安市新泰市本地专业从事热风锅炉_食品专用热风
-
2026-05-13 17:38:47
数码科技
成功
标题:上门女婿岳风柳萱第三千九百五十章 绝望_上门女婿岳风柳萱_吻天的狼_十二小说网_规则类怪谈扮演指南
简介:上门女婿岳风柳萱最新章节第三千九百五十章 绝望出自吻天的狼的作品上门女婿岳风柳萱最新章节每天第一时间更新。上门女婿岳风柳
-
2026-05-12 15:42:06
视频影音
成功
标题:1056龙文章为了锻炼新兵作战实力,故意放掉两个小队的日军!_网易视频
简介:1056龙文章为了锻炼新兵作战实力,故意放掉两个小队的日军!
-
2026-05-13 01:10:09
房产家居
成功
标题:密集柜-移动密集架 用心制作附近渠道(更新时间:2026-05-13 01:10:09)
简介:您是想要在邯郸市武安市本地采购高质量的密集柜-移动密集架 用心制作产品吗?宏润钢木家具(邯郸市武安市分公司)是您的不二之