# Bun ## Docs - [Bytecode Caching](https://bun.com/docs/bundler/bytecode.md): Speed up JavaScript execution with bytecode caching in Bun's bundler - [CSS](https://bun.com/docs/bundler/css.md): Bun's bundler has built-in support for CSS with modern features - [esbuild](https://bun.com/docs/bundler/esbuild.md): Migration guide from esbuild to Bun's bundler - [Single-file executable](https://bun.com/docs/bundler/executables.md): Generate standalone executables from TypeScript or JavaScript files with Bun - [Fullstack dev server](https://bun.com/docs/bundler/fullstack.md): Build fullstack applications with Bun's integrated dev server that bundles frontend assets and handles API routes - [Hot reloading](https://bun.com/docs/bundler/hot-reloading.md): Hot Module Replacement (HMR) for Bun's development server - [HTML & static sites](https://bun.com/docs/bundler/html-static.md): Build static sites, landing pages, and web applications with Bun's bundler - [Bundler](https://bun.com/docs/bundler/index.md): Bun's fast native bundler for JavaScript, TypeScript, JSX, and more - [Loaders](https://bun.com/docs/bundler/loaders.md): Built-in loaders for the Bun bundler and runtime - [Macros](https://bun.com/docs/bundler/macros.md): Run JavaScript functions at bundle-time with Bun macros - [null](https://bun.com/docs/bundler/minifier.md): Reduce bundle sizes with Bun's JavaScript and TypeScript minifier - [Plugins](https://bun.com/docs/bundler/plugins.md): Universal plugin API for extending Bun's runtime and bundler - [Feedback](https://bun.com/docs/feedback.md): Share feedback, bug reports, and feature requests - [Convert an ArrayBuffer to an array of numbers](https://bun.com/docs/guides/binary/arraybuffer-to-array.md) - [Convert an ArrayBuffer to a Blob](https://bun.com/docs/guides/binary/arraybuffer-to-blob.md) - [Convert an ArrayBuffer to a Buffer](https://bun.com/docs/guides/binary/arraybuffer-to-buffer.md) - [Convert an ArrayBuffer to a string](https://bun.com/docs/guides/binary/arraybuffer-to-string.md) - [Convert an ArrayBuffer to a Uint8Array](https://bun.com/docs/guides/binary/arraybuffer-to-typedarray.md) - [Convert a Blob to an ArrayBuffer](https://bun.com/docs/guides/binary/blob-to-arraybuffer.md) - [Convert a Blob to a DataView](https://bun.com/docs/guides/binary/blob-to-dataview.md) - [Convert a Blob to a ReadableStream](https://bun.com/docs/guides/binary/blob-to-stream.md) - [Convert a Blob to a string](https://bun.com/docs/guides/binary/blob-to-string.md) - [Convert a Blob to a Uint8Array](https://bun.com/docs/guides/binary/blob-to-typedarray.md) - [Convert a Buffer to an ArrayBuffer](https://bun.com/docs/guides/binary/buffer-to-arraybuffer.md) - [Convert a Buffer to a blob](https://bun.com/docs/guides/binary/buffer-to-blob.md) - [Convert a Buffer to a ReadableStream](https://bun.com/docs/guides/binary/buffer-to-readablestream.md) - [Convert a Buffer to a string](https://bun.com/docs/guides/binary/buffer-to-string.md) - [Convert a Buffer to a Uint8Array](https://bun.com/docs/guides/binary/buffer-to-typedarray.md) - [Convert a DataView to a string](https://bun.com/docs/guides/binary/dataview-to-string.md) - [Convert a Uint8Array to an ArrayBuffer](https://bun.com/docs/guides/binary/typedarray-to-arraybuffer.md) - [Convert a Uint8Array to a Blob](https://bun.com/docs/guides/binary/typedarray-to-blob.md) - [Convert a Uint8Array to a Buffer](https://bun.com/docs/guides/binary/typedarray-to-buffer.md) - [Convert a Uint8Array to a DataView](https://bun.com/docs/guides/binary/typedarray-to-dataview.md) - [Convert a Uint8Array to a ReadableStream](https://bun.com/docs/guides/binary/typedarray-to-readablestream.md) - [Convert a Uint8Array to a string](https://bun.com/docs/guides/binary/typedarray-to-string.md) - [Deploy a Bun application on AWS Lambda](https://bun.com/docs/guides/deployment/aws-lambda.md) - [Deploy a Bun application on DigitalOcean](https://bun.com/docs/guides/deployment/digital-ocean.md) - [Deploy a Bun application on Google Cloud Run](https://bun.com/docs/guides/deployment/google-cloud-run.md) - [Deploy a Bun application on Railway](https://bun.com/docs/guides/deployment/railway.md): Deploy Bun applications to Railway with this step-by-step guide covering CLI and dashboard methods, optional PostgreSQL setup, and automatic SSL configuration. - [Deploy a Bun application on Render](https://bun.com/docs/guides/deployment/render.md) - [Deploy a Bun application on Vercel](https://bun.com/docs/guides/deployment/vercel.md) - [Build an app with Astro and Bun](https://bun.com/docs/guides/ecosystem/astro.md) - [Create a Discord bot](https://bun.com/docs/guides/ecosystem/discordjs.md) - [Containerize a Bun application with Docker](https://bun.com/docs/guides/ecosystem/docker.md) - [Use Drizzle ORM with Bun](https://bun.com/docs/guides/ecosystem/drizzle.md) - [Use EdgeDB with Bun](https://bun.com/docs/guides/ecosystem/edgedb.md) - [Build an HTTP server using Elysia and Bun](https://bun.com/docs/guides/ecosystem/elysia.md) - [Build an HTTP server using Express and Bun](https://bun.com/docs/guides/ecosystem/express.md) - [Build an HTTP server using Hono and Bun](https://bun.com/docs/guides/ecosystem/hono.md) - [Read and write data to MongoDB using Mongoose and Bun](https://bun.com/docs/guides/ecosystem/mongoose.md) - [Use Neon Postgres through Drizzle ORM](https://bun.com/docs/guides/ecosystem/neon-drizzle.md) - [Use Neon's Serverless Postgres with Bun](https://bun.com/docs/guides/ecosystem/neon-serverless-postgres.md) - [Build an app with Next.js and Bun](https://bun.com/docs/guides/ecosystem/nextjs.md) - [Build an app with Nuxt and Bun](https://bun.com/docs/guides/ecosystem/nuxt.md) - [Run Bun as a daemon with PM2](https://bun.com/docs/guides/ecosystem/pm2.md) - [Use Prisma with Bun](https://bun.com/docs/guides/ecosystem/prisma.md) - [Use Prisma Postgres with Bun](https://bun.com/docs/guides/ecosystem/prisma-postgres.md) - [Build an app with Qwik and Bun](https://bun.com/docs/guides/ecosystem/qwik.md) - [Build a React app with Bun](https://bun.com/docs/guides/ecosystem/react.md) - [Build an app with Remix and Bun](https://bun.com/docs/guides/ecosystem/remix.md) - [Add Sentry to a Bun app](https://bun.com/docs/guides/ecosystem/sentry.md) - [Build an app with SolidStart and Bun](https://bun.com/docs/guides/ecosystem/solidstart.md) - [Server-side render (SSR) a React component](https://bun.com/docs/guides/ecosystem/ssr-react.md) - [Build an HTTP server using StricJS and Bun](https://bun.com/docs/guides/ecosystem/stric.md) - [Build an app with SvelteKit and Bun](https://bun.com/docs/guides/ecosystem/sveltekit.md) - [Run Bun as a daemon with systemd](https://bun.com/docs/guides/ecosystem/systemd.md) - [Build a frontend using Vite and Bun](https://bun.com/docs/guides/ecosystem/vite.md) - [Extract links from a webpage using HTMLRewriter](https://bun.com/docs/guides/html-rewriter/extract-links.md) - [Extract social share images and Open Graph tags](https://bun.com/docs/guides/html-rewriter/extract-social-meta.md) - [Start a cluster of HTTP servers](https://bun.com/docs/guides/http/cluster.md): Run multiple HTTP servers concurrently via the "reusePort" option to share the same port across multiple processes - [Send an HTTP request using fetch](https://bun.com/docs/guides/http/fetch.md) - [fetch with unix domain sockets in Bun](https://bun.com/docs/guides/http/fetch-unix.md) - [Upload files via HTTP using FormData](https://bun.com/docs/guides/http/file-uploads.md) - [Hot reload an HTTP server](https://bun.com/docs/guides/http/hot.md) - [Proxy HTTP requests using fetch()](https://bun.com/docs/guides/http/proxy.md) - [Common HTTP server usage](https://bun.com/docs/guides/http/server.md) - [Write a simple HTTP server](https://bun.com/docs/guides/http/simple.md) - [Stream a file as an HTTP Response](https://bun.com/docs/guides/http/stream-file.md) - [Streaming HTTP Server with Async Iterators](https://bun.com/docs/guides/http/stream-iterator.md) - [Streaming HTTP Server with Node.js Streams](https://bun.com/docs/guides/http/stream-node-streams-in-bun.md) - [Configure TLS on an HTTP server](https://bun.com/docs/guides/http/tls.md) - [Guides](https://bun.com/docs/guides/index.md): A collection of code samples and walkthroughs for performing common tasks with Bun. - [Add a dependency](https://bun.com/docs/guides/install/add.md) - [Add a development dependency](https://bun.com/docs/guides/install/add-dev.md) - [Add a Git dependency](https://bun.com/docs/guides/install/add-git.md) - [Add an optional dependency](https://bun.com/docs/guides/install/add-optional.md) - [Add a peer dependency](https://bun.com/docs/guides/install/add-peer.md) - [Add a tarball dependency](https://bun.com/docs/guides/install/add-tarball.md) - [Using bun install with an Azure Artifacts npm registry](https://bun.com/docs/guides/install/azure-artifacts.md) - [Install dependencies with Bun in GitHub Actions](https://bun.com/docs/guides/install/cicd.md) - [Override the default npm registry for bun install](https://bun.com/docs/guides/install/custom-registry.md) - [Migrate from npm install to bun install](https://bun.com/docs/guides/install/from-npm-install-to-bun-install.md) - [Configure git to diff Bun's lockb lockfile](https://bun.com/docs/guides/install/git-diff-bun-lockfile.md) - [Using bun install with Artifactory](https://bun.com/docs/guides/install/jfrog-artifactory.md) - [Install a package under a different name](https://bun.com/docs/guides/install/npm-alias.md) - [Configure a private registry for an organization scope with bun install](https://bun.com/docs/guides/install/registry-scope.md) - [Add a trusted dependency](https://bun.com/docs/guides/install/trusted.md) - [Configuring a monorepo using workspaces](https://bun.com/docs/guides/install/workspaces.md) - [Generate a yarn-compatible lockfile](https://bun.com/docs/guides/install/yarnlock.md) - [Parse command-line arguments](https://bun.com/docs/guides/process/argv.md) - [Listen for CTRL+C](https://bun.com/docs/guides/process/ctrl-c.md) - [Spawn a child process and communicate using IPC](https://bun.com/docs/guides/process/ipc.md) - [Get the process uptime in nanoseconds](https://bun.com/docs/guides/process/nanoseconds.md) - [Listen to OS signals](https://bun.com/docs/guides/process/os-signals.md) - [Spawn a child process](https://bun.com/docs/guides/process/spawn.md) - [Read stderr from a child process](https://bun.com/docs/guides/process/spawn-stderr.md) - [Read stdout from a child process](https://bun.com/docs/guides/process/spawn-stdout.md) - [Read from stdin](https://bun.com/docs/guides/process/stdin.md) - [Read a file to an ArrayBuffer](https://bun.com/docs/guides/read-file/arraybuffer.md) - [Read a file to a Buffer](https://bun.com/docs/guides/read-file/buffer.md) - [Check if a file exists](https://bun.com/docs/guides/read-file/exists.md) - [Read a JSON file](https://bun.com/docs/guides/read-file/json.md) - [Get the MIME type of a file](https://bun.com/docs/guides/read-file/mime.md) - [Read a file as a ReadableStream](https://bun.com/docs/guides/read-file/stream.md) - [Read a file as a string](https://bun.com/docs/guides/read-file/string.md) - [Read a file to a Uint8Array](https://bun.com/docs/guides/read-file/uint8array.md) - [Watch a directory for changes](https://bun.com/docs/guides/read-file/watch.md) - [Build-time constants with --define](https://bun.com/docs/guides/runtime/build-time-constants.md) - [Install and run Bun in GitHub Actions](https://bun.com/docs/guides/runtime/cicd.md) - [Codesign a single-file JavaScript executable on macOS](https://bun.com/docs/guides/runtime/codesign-macos-executable.md): Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable. - [Define and replace static globals & constants](https://bun.com/docs/guides/runtime/define-constant.md) - [Delete directories](https://bun.com/docs/guides/runtime/delete-directory.md) - [Delete files](https://bun.com/docs/guides/runtime/delete-file.md) - [Inspect memory usage using V8 heap snapshots](https://bun.com/docs/guides/runtime/heap-snapshot.md) - [Import a HTML file as text](https://bun.com/docs/guides/runtime/import-html.md) - [Import a JSON file](https://bun.com/docs/guides/runtime/import-json.md) - [Import a TOML file](https://bun.com/docs/guides/runtime/import-toml.md) - [Import a YAML file](https://bun.com/docs/guides/runtime/import-yaml.md) - [Read environment variables](https://bun.com/docs/guides/runtime/read-env.md) - [Set environment variables](https://bun.com/docs/guides/runtime/set-env.md) - [Run a Shell Command](https://bun.com/docs/guides/runtime/shell.md) - [Set a time zone in Bun](https://bun.com/docs/guides/runtime/timezone.md) - [Re-map import paths](https://bun.com/docs/guides/runtime/tsconfig-paths.md) - [Install TypeScript declarations for Bun](https://bun.com/docs/guides/runtime/typescript.md) - [Debugging Bun with the VS Code extension](https://bun.com/docs/guides/runtime/vscode-debugger.md) - [Debugging Bun with the web debugger](https://bun.com/docs/guides/runtime/web-debugger.md) - [Convert a Node.js Readable to an ArrayBuffer](https://bun.com/docs/guides/streams/node-readable-to-arraybuffer.md) - [Convert a Node.js Readable to a Blob](https://bun.com/docs/guides/streams/node-readable-to-blob.md) - [Convert a Node.js Readable to JSON](https://bun.com/docs/guides/streams/node-readable-to-json.md) - [Convert a Node.js Readable to a string](https://bun.com/docs/guides/streams/node-readable-to-string.md) - [Convert a Node.js Readable to an Uint8Array](https://bun.com/docs/guides/streams/node-readable-to-uint8array.md) - [Convert a ReadableStream to an array of chunks](https://bun.com/docs/guides/streams/to-array.md) - [Convert a ReadableStream to an ArrayBuffer](https://bun.com/docs/guides/streams/to-arraybuffer.md) - [Convert a ReadableStream to a Blob](https://bun.com/docs/guides/streams/to-blob.md) - [Convert a ReadableStream to a Buffer](https://bun.com/docs/guides/streams/to-buffer.md) - [Convert a ReadableStream to JSON](https://bun.com/docs/guides/streams/to-json.md) - [Convert a ReadableStream to a string](https://bun.com/docs/guides/streams/to-string.md) - [Convert a ReadableStream to a Uint8Array](https://bun.com/docs/guides/streams/to-typedarray.md) - [Bail early with the Bun test runner](https://bun.com/docs/guides/test/bail.md) - [Generate code coverage reports with the Bun test runner](https://bun.com/docs/guides/test/coverage.md) - [Set a code coverage threshold with the Bun test runner](https://bun.com/docs/guides/test/coverage-threshold.md) - [Write browser DOM tests with Bun and happy-dom](https://bun.com/docs/guides/test/happy-dom.md) - [Migrate from Jest to Bun's test runner](https://bun.com/docs/guides/test/migrate-from-jest.md) - [Set the system time in Bun's test runner](https://bun.com/docs/guides/test/mock-clock.md) - [Mock functions in `bun test`](https://bun.com/docs/guides/test/mock-functions.md) - [Re-run tests multiple times with the Bun test runner](https://bun.com/docs/guides/test/rerun-each.md) - [Run your tests with the Bun test runner](https://bun.com/docs/guides/test/run-tests.md) - [Skip tests with the Bun test runner](https://bun.com/docs/guides/test/skip-tests.md) - [Use snapshot testing in `bun test`](https://bun.com/docs/guides/test/snapshot.md) - [Spy on methods in `bun test`](https://bun.com/docs/guides/test/spy-on.md) - [import, require, and test Svelte components with bun test](https://bun.com/docs/guides/test/svelte-test.md) - [Using Testing Library with Bun](https://bun.com/docs/guides/test/testing-library.md) - [Set a per-test timeout with the Bun test runner](https://bun.com/docs/guides/test/timeout.md) - [Mark a test as a "todo" with the Bun test runner](https://bun.com/docs/guides/test/todo-tests.md) - [Update snapshots in `bun test`](https://bun.com/docs/guides/test/update-snapshots.md) - [Run tests in watch mode with Bun](https://bun.com/docs/guides/test/watch-mode.md) - [Encode and decode base64 strings](https://bun.com/docs/guides/util/base64.md) - [Check if two objects are deeply equal](https://bun.com/docs/guides/util/deep-equals.md) - [Compress and decompress data with DEFLATE](https://bun.com/docs/guides/util/deflate.md) - [Detect when code is executed with Bun](https://bun.com/docs/guides/util/detect-bun.md) - [Check if the current file is the entrypoint](https://bun.com/docs/guides/util/entrypoint.md) - [Escape an HTML string](https://bun.com/docs/guides/util/escape-html.md) - [Convert a file URL to an absolute path](https://bun.com/docs/guides/util/file-url-to-path.md) - [Compress and decompress data with gzip](https://bun.com/docs/guides/util/gzip.md) - [Hash a password](https://bun.com/docs/guides/util/hash-a-password.md) - [Get the directory of the current file](https://bun.com/docs/guides/util/import-meta-dir.md) - [Get the file name of the current file](https://bun.com/docs/guides/util/import-meta-file.md) - [Get the absolute path of the current file](https://bun.com/docs/guides/util/import-meta-path.md) - [Generate a UUID](https://bun.com/docs/guides/util/javascript-uuid.md) - [Get the absolute path to the current entrypoint](https://bun.com/docs/guides/util/main.md) - [Convert an absolute path to a file URL](https://bun.com/docs/guides/util/path-to-file-url.md) - [Sleep for a fixed number of milliseconds](https://bun.com/docs/guides/util/sleep.md) - [Get the current Bun version](https://bun.com/docs/guides/util/version.md) - [Get the path to an executable bin file](https://bun.com/docs/guides/util/which-path-to-executable-bin.md) - [Enable compression for WebSocket messages](https://bun.com/docs/guides/websocket/compression.md) - [Set per-socket contextual data on a WebSocket](https://bun.com/docs/guides/websocket/context.md) - [Build a publish-subscribe WebSocket server](https://bun.com/docs/guides/websocket/pubsub.md) - [Build a simple WebSocket server](https://bun.com/docs/guides/websocket/simple.md) - [Append content to a file](https://bun.com/docs/guides/write-file/append.md) - [Write a string to a file](https://bun.com/docs/guides/write-file/basic.md) - [Write a Blob to a file](https://bun.com/docs/guides/write-file/blob.md) - [Write a file to stdout](https://bun.com/docs/guides/write-file/cat.md) - [Copy a file to another location](https://bun.com/docs/guides/write-file/file-cp.md) - [Write a file incrementally](https://bun.com/docs/guides/write-file/filesink.md) - [Write a Response to a file](https://bun.com/docs/guides/write-file/response.md) - [Write to stdout](https://bun.com/docs/guides/write-file/stdout.md) - [Write a ReadableStream to a file](https://bun.com/docs/guides/write-file/stream.md) - [Delete a file](https://bun.com/docs/guides/write-file/unlink.md) - [Welcome to Bun](https://bun.com/docs/index.md): Bun is an all-in-one toolkit for developing modern JavaScript/TypeScript applications. - [Installation](https://bun.com/docs/installation.md): Install Bun - [bunx](https://bun.com/docs/pm/bunx.md): Run packages from npm - [Catalogs](https://bun.com/docs/pm/catalogs.md): Share common dependency versions across multiple packages in a monorepo - [bun add](https://bun.com/docs/pm/cli/add.md): Add packages to your project with Bun's fast package manager - [bun audit](https://bun.com/docs/pm/cli/audit.md): Check your installed packages for known security vulnerabilities - [bun install](https://bun.com/docs/pm/cli/install.md): Install packages with Bun's fast package manager - [bun link](https://bun.com/docs/pm/cli/link.md): Link local packages for development - [bun outdated](https://bun.com/docs/pm/cli/outdated.md): Check for outdated dependencies - [bun patch](https://bun.com/docs/pm/cli/patch.md): Persistently patch node_modules packages in a git-friendly way - [bun pm](https://bun.com/docs/pm/cli/pm.md): Package manager utilities - [bun publish](https://bun.com/docs/pm/cli/publish.md): Use `bun publish` to publish a package to the npm registry - [bun remove](https://bun.com/docs/pm/cli/remove.md): Remove dependencies from your project - [bun update](https://bun.com/docs/pm/cli/update.md): Update dependencies to latest versions - [bun why](https://bun.com/docs/pm/cli/why.md): Explain why a package is installed - [bun --filter](https://bun.com/docs/pm/filter.md): Select packages by pattern in a monorepo using the --filter flag - [Global cache](https://bun.com/docs/pm/global-cache.md): How Bun stores and manages packages in its global cache - [Isolated installs](https://bun.com/docs/pm/isolated-installs.md): Strict dependency isolation similar to pnpm's approach - [Lifecycle scripts](https://bun.com/docs/pm/lifecycle.md): How Bun handles package lifecycle scripts securely - [Lockfile](https://bun.com/docs/pm/lockfile.md): Bun's lockfile format and configuration - [.npmrc support](https://bun.com/docs/pm/npmrc.md) - [Overrides and resolutions](https://bun.com/docs/pm/overrides.md): Control metadependency versions with npm overrides and Yarn resolutions - [Scopes and registries](https://bun.com/docs/pm/scopes-registries.md): Configure private registries and scoped packages - [Security Scanner API](https://bun.com/docs/pm/security-scanner-api.md) - [Workspaces](https://bun.com/docs/pm/workspaces.md): Develop complex monorepos with multiple independent packages - [Benchmarking](https://bun.com/docs/project/benchmarking.md): How to benchmark Bun - [Bindgen](https://bun.com/docs/project/bindgen.md): Bindgen for Bun - [Building Windows](https://bun.com/docs/project/building-windows.md): Building Bun on Windows - [Contributing](https://bun.com/docs/project/contributing.md): Contributing to Bun - [License](https://bun.com/docs/project/license.md): License for Bun - [Roadmap](https://bun.com/docs/project/roadmap.md): Bun's roadmap and long-term plans - [Quickstart](https://bun.com/docs/quickstart.md): Build your first app with Bun - [Auto-install](https://bun.com/docs/runtime/auto-install.md): Bun's automatic package installation feature for standalone script execution - [Binary Data](https://bun.com/docs/runtime/binary-data.md): Working with binary data in JavaScript - [Bun APIs](https://bun.com/docs/runtime/bun-apis.md): Overview of Bun's native APIs available on the Bun global object and built-in modules - [bunfig.toml](https://bun.com/docs/runtime/bunfig.md): Configure Bun's behavior using its configuration file bunfig.toml - [C Compiler](https://bun.com/docs/runtime/c-compiler.md): Compile and run C from JavaScript with low overhead - [Spawn](https://bun.com/docs/runtime/child-process.md): Spawn child processes with `Bun.spawn` or `Bun.spawnSync` - [Color](https://bun.com/docs/runtime/color.md): Format colors as CSS, ANSI, numbers, hex strings, and more - [Console](https://bun.com/docs/runtime/console.md): The console object in Bun - [Cookies](https://bun.com/docs/runtime/cookies.md): Use Bun's native APIs for working with HTTP cookies - [Debugging](https://bun.com/docs/runtime/debugger.md): Debug your Bun code with an interactive debugger using WebKit Inspector Protocol - [Environment Variables](https://bun.com/docs/runtime/environment-variables.md): Read and configure environment variables in Bun, including automatic .env file support - [FFI](https://bun.com/docs/runtime/ffi.md): Use Bun's FFI module to efficiently call native libraries from JavaScript - [File I/O](https://bun.com/docs/runtime/file-io.md): Bun provides a set of optimized APIs for reading and writing files. - [File System Router](https://bun.com/docs/runtime/file-system-router.md): Bun provides a fast API for resolving routes against file-system paths - [File Types](https://bun.com/docs/runtime/file-types.md): File types and loaders supported by Bun's bundler and runtime - [Glob](https://bun.com/docs/runtime/glob.md): Use Bun's fast native implementation of file globbing - [Globals](https://bun.com/docs/runtime/globals.md): Use Bun's global objects - [Hashing](https://bun.com/docs/runtime/hashing.md): Bun provides a set of utility functions for hashing and verifying passwords with various cryptographically secure algorithms - [HTMLRewriter](https://bun.com/docs/runtime/html-rewriter.md): Use Bun's HTMLRewriter to transform HTML documents with CSS selectors - [Cookies](https://bun.com/docs/runtime/http/cookies.md): Work with cookies in HTTP requests and responses using Bun's built-in Cookie API. - [Error Handling](https://bun.com/docs/runtime/http/error-handling.md): Learn how to handle errors in Bun's development server - [Metrics](https://bun.com/docs/runtime/http/metrics.md): Monitor server activity with built-in metrics - [Routing](https://bun.com/docs/runtime/http/routing.md): Define routes in `Bun.serve` using static paths, parameters, and wildcards - [Server](https://bun.com/docs/runtime/http/server.md): Use `Bun.serve` to start a high-performance HTTP server in Bun - [TLS](https://bun.com/docs/runtime/http/tls.md): Enable TLS in Bun.serve - [WebSockets](https://bun.com/docs/runtime/http/websockets.md): Server-side WebSockets in Bun - [Bun Runtime](https://bun.com/docs/runtime/index.md): Execute JavaScript/TypeScript files, package.json scripts, and executable packages with Bun's fast runtime. - [JSX](https://bun.com/docs/runtime/jsx.md): Built-in JSX and TSX support in Bun with configurable transpilation options - [Module Resolution](https://bun.com/docs/runtime/module-resolution.md): How Bun resolves modules and handles imports in JavaScript and TypeScript - [DNS](https://bun.com/docs/runtime/networking/dns.md): Use Bun's DNS module to resolve DNS records - [Fetch](https://bun.com/docs/runtime/networking/fetch.md): Send HTTP requests with Bun's fetch API - [TCP](https://bun.com/docs/runtime/networking/tcp.md): Use Bun's native TCP API to implement performance sensitive systems like database clients, game servers, or anything that needs to communicate over TCP (instead of HTTP) - [UDP](https://bun.com/docs/runtime/networking/udp.md): Use Bun's UDP API to implement services with advanced real-time requirements, such as voice chat. - [Node-API](https://bun.com/docs/runtime/node-api.md): Use Bun's Node-API module to build native add-ons to Node.js - [Node.js Compatibility](https://bun.com/docs/runtime/nodejs-compat.md): Bun's compatibility status with Node.js APIs, modules, and globals - [Plugins](https://bun.com/docs/runtime/plugins.md): Universal plugin API for extending Bun's runtime and bundler - [Redis](https://bun.com/docs/runtime/redis.md): Use Bun's native Redis client with a Promise-based API - [S3](https://bun.com/docs/runtime/s3.md): Bun provides fast, native bindings for interacting with S3-compatible object storage services. - [Secrets](https://bun.com/docs/runtime/secrets.md): Use Bun's Secrets API to store and retrieve sensitive credentials securely - [Semver](https://bun.com/docs/runtime/semver.md): Use Bun's semantic versioning API - [Shell](https://bun.com/docs/runtime/shell.md): Use Bun's shell scripting API to run shell commands from JavaScript - [SQL](https://bun.com/docs/runtime/sql.md): Bun provides native bindings for working with SQL databases through a unified Promise-based API that supports PostgreSQL, MySQL, and SQLite. - [SQLite](https://bun.com/docs/runtime/sqlite.md): Bun natively implements a high-performance SQLite3 driver. - [Streams](https://bun.com/docs/runtime/streams.md): Use Bun's streams API to work with binary data without loading it all into memory at once - [bun create](https://bun.com/docs/runtime/templating/create.md): Create a new Bun project from a React component, a `create-