diff options
-rw-r--r-- | README.md | 40 |
1 files changed, 20 insertions, 20 deletions
@@ -45,24 +45,24 @@ If using Linux, kernel version 5.6 or higher is strongly recommended, but the mi - [Transpiling TypeScript with Bun](#transpiling-typescript-with-bun) - [Using Tailwind with bun](#using-tailwind-with-bun) - [Not implemented yet](#not-implemented-yet) - - [Limitations & intended usage](#limitations---intended-usage) + - [Limitations & intended usage](#limitations--intended-usage) - [Benchmarks](#benchmarks) - [Configuration](#configuration) - [bunfig.toml](#bunfigtoml) - [Loaders](#loaders) - [CSS in JS](#css-in-js) - - [When `platform` is `browser`](#when--platform--is--browser) - - [When `platform` is `bun`](#when--platform--is--bun) + - [When `platform` is `browser`](#when-platform-is-browser) + - [When `platform` is `bun`](#when-platform-is-bun) - [CSS Loader](#css-loader) - [CSS runtime](#css-runtime) - [Frameworks](#frameworks) - [Troubleshooting](#troubleshooting) - - [bun not running on an M1 (or Apple Silicon)](#bun-not-running-on-an-m1--or-apple-silicon) - - [error: Unexpected](#error--unexpected) + - [bun not running on an M1 (or Apple Silicon)](#bun-not-running-on-an-m1-or-apple-silicon) + - [error: Unexpected](#error-unexpected) - [bun install is stuck](#bun-install-is-stuck) - [Reference](#reference) - [`bun install`](#bun-install) - - [Configuring bun install with `bunfig.toml`](#configuring-bun-install-with--bunfigtoml) + - [Configuring bun install with `bunfig.toml`](#configuring-bun-install-with-bunfigtoml) - [Configuring with environment variables](#configuring-with-environment-variables) - [Platform-specific dependencies?](#platform-specific-dependencies) - [Peer dependencies?](#peer-dependencies) @@ -81,27 +81,27 @@ If using Linux, kernel version 5.6 or higher is strongly recommended, but the mi - [Publishing a new template](#publishing-a-new-template) - [Testing your new template](#testing-your-new-template) - [Config](#config) - - [How `bun create` works](#how--bun-create--works) + - [How `bun create` works](#how-bun-create-works) - [`bun bun`](#bun-bun) - [Why bundle?](#why-bundle) - - [What is `.bun`?](#what-is--bun-) + - [What is `.bun`?](#what-is-bun) - [Position-independent code](#position-independent-code) - [Where is the code?](#where-is-the-code) - [Advanced](#advanced) - [What is the module ID hash?](#what-is-the-module-id-hash) - [`bun upgrade`](#bun-upgrade) - [`bun completions`](#bun-completions) -- [`Bun.serve` - fast HTTP server](#bunserve----fast-http-server) +- [`Bun.serve` - fast HTTP server](#bunserve---fast-http-server) - [Usage](#usage-1) - [Error handling](#error-handling) -- [`Bun.write` – optimizing I/O](#bunwrite----optimizing-i-o) +- [`Bun.write` – optimizing I/O](#bunwrite--optimizing-io) - [bun:sqlite (SQLite3 module)](#bunsqlite-sqlite3-module) - - [bun:sqlite Benchmark](#bun-sqlite-benchmark) - - [Getting started with bun:sqlite](#getting-started-with-bun-sqlite) + - [bun:sqlite Benchmark](#bunsqlite-benchmark) + - [Getting started with bun:sqlite](#getting-started-with-bunsqlite) - [`Database`](#database) - [Database.prototype.query](#databaseprototypequery) - [Database.prototype.prepare](#databaseprototypeprepare) - - [Database.prototype.exec & Database.prototype.run](#databaseprototypeexec---databaseprototyperun) + - [Database.prototype.exec & Database.prototype.run](#databaseprototypeexec--databaseprototyperun) - [Database.prototype.serialize](#databaseprototypeserialize) - [Database.prototype.loadExtension](#databaseprototypeloadextension) - [Statement](#statement) @@ -112,11 +112,11 @@ If using Linux, kernel version 5.6 or higher is strongly recommended, but the mi - [Statement.finalize](#statementfinalize) - [Statement.toString()](#statementtostring-) - [Datatypes](#datatypes) -- [`bun:ffi` (Foreign Functions Interface)](#bun-ffi---foreign-functions-interface) +- [`bun:ffi` (Foreign Functions Interface)](#bunffi-foreign-functions-interface) - [Low-overhead FFI](#low-overhead-ffi) - [Usage](#usage-2) - - [Supported FFI types (`FFIType`)](#supported-ffi-types---ffitype-) - - [Strings (`CString`)](#strings---cstring-) + - [Supported FFI types (`FFIType`)](#supported-ffi-types-ffitype) + - [Strings (`CString`)](#strings-cstring) - [Returning a string](#returning-a-string) - [Function pointers](#function-pointers) - [Pointers](#pointers) @@ -133,11 +133,11 @@ If using Linux, kernel version 5.6 or higher is strongly recommended, but the mi - [Credits](#credits) - [License](#license) - [Developing bun](#developing-bun) - - [VSCode Dev Container (Linux)](#vscode-dev-container--linux) + - [VSCode Dev Container (Linux)](#vscode-dev-container-linux) - [MacOS](#macos) - - [Build bun (macOS)](#build-bun--macos) - - [Verify it worked (macOS)](#verify-it-worked--macos) - - [Troubleshooting (macOS)](#troubleshooting--macos) + - [Build bun (macOS)](#build-bun-macos) + - [Verify it worked (macOS)](#verify-it-worked-macos) + - [Troubleshooting (macOS)](#troubleshooting-macos) - [vscode-zig](#vscode-zig) ## Using bun.js - a new JavaScript runtime environment |