PageSourceSearch

https://bun.sh/reference

html bun.sh collected 2026-09-24 08:26:25 UTC 77,928 bytes, 2 lines download raw bytes

1<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>API Reference | Bun</title><meta name="description" content="Complete API reference for Bun&#x27;s runtime, generated from its TypeScript definitions." data-head=""/><meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff"/><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0d0a0c"/><meta property="og:site_name" content="Bun" data-head=""/><meta property="og:type" content="website" data-head=""/><meta property="og:title" content="API Reference | Bun" data-head=""/><meta property="og:description" content="Complete API reference for Bun&#x27;s runtime, generated from its TypeScript definitions." data-head=""/><meta property="og:url" content="https://bun.com/reference" data-head=""/><meta property="og:image" content="https://bun.com/og/reference.png" data-head=""/><meta property="og:locale" content="en_US" data-head=""/><meta name="twitter:site" content="@bunjavascript" data-head=""/><meta name="twitter:card" content="summary_large_image" data-head=""/><meta data-pagefind-filter="section[content]" content="Reference"/><link rel="preload" href="/fonts/Archivo.var.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="preload" href="/fonts/MartianMono.var.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><link rel="stylesheet" href="/_assets/site-1fc3814b.css"/><link rel="modulepreload" href="/_assets/chunk-e7xk0yn7.js"/><link rel="modulepreload" href="/_assets/chunk-e8pxy83r.js"/><link rel="modulepreload" href="/_assets/chunk-g00vasv2.js"/><link rel="modulepreload" href="/_assets/page-reference-index-3jnma74g.js"/><link rel="canonical" href="https://bun.com/reference" data-head=""/><link rel="alternate" type="application/rss+xml" title="Bun Blog" href="/rss.xml"/><link rel="manifest" href="/manifest.json"/><link rel="icon" href="/favicon.ico" sizes="any"/><link rel="icon" href="/logo.svg" type="image/svg+xml"/><link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192x192.png"/><link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png"/>
1<script type="application/ld+json" data-head="">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://bun.com/#organization","name":"Bun","url":"https://bun.com/","logo":{"@type":"ImageObject","url":"https://bun.com/logo-square.png","width":512,"height":512},"sameAs":["https://x.com/bunjavascript","https://github.com/oven-sh/bun","https://bun.com/discord"],"parentOrganization":{"@type":"Organization","name":"Anthropic, PBC","url":"https://www.anthropic.com"},"description":"A fast all-in-one JavaScript runtime and toolkit"},{"@type":"WebSite","@id":"https://bun.com/#website","name":"Bun","url":"https://bun.com/","publisher":{"@id":"https://bun.com/#organization"}},{"@type":"WebPage","@id":"https://bun.com/reference#webpage","url":"https://bun.com/reference","name":"API Reference | Bun","description":"Complete API reference for Bun's runtime, generated from its TypeScript definitions.","isPartOf":{"@id":"https://bun.com/#website"},"primaryImageOfPage":{"@type":"ImageObject","url":"https://bun.com/og/reference.png"},"inLanguage":"en"}]}</script>
1<script defer="" data-domain="bun.sh" src="https://plausible.io/js/script.js"></script>
1</head><body><div id="__bun"><div class="flex min-h-screen flex-col"><a href="#main" class="skip-link">Skip to content</a><header class="site-header sticky top-0 z-40 w-full"><div class="flex h-header items-center gap-6 px-gutter"><a aria-label="Bun — home" class="group/logo flex shrink-0 items-center gap-2.5" href="/" data-link="" data-prefetch="true"><img src="/logo.svg" alt="" width="40" height="35" class="h-[34px] w-auto transition-transform duration-300 ease-out group-hover/logo:-rotate-[10deg] group-active/logo:translate-y-px"/><svg viewBox="20 18 262 82" fill="currentColor" aria-hidden="true" class="h-[19px] w-auto text-fg"><path d="M68.014 97.942c-26.4 0-40.947-3.678-41.6-4.495a1050.447 1050.447 0 0 1 0-68.081c.653-.735 15.12-3.433 41.6-3.433 24.6 0 33.999 9.072 33.999 19.943 0 7.028-4.25 13.403-12.75 17.081v1.226c10.217.736 15.202 7.437 15.202 15.038 0 11.688-11.85 22.721-36.451 22.721ZM51.259 55.606l15.937.082c5.231-.817 8.746-3.678 8.746-8.091 0-5.558-4.169-8.582-11.606-8.582-6.375 0-11.197 1.062-12.995 2.452-.082 4.659-.082 9.48-.082 14.14Zm13.159 23.457c7.437 0 11.932-3.351 11.932-9.072 0-4.659-3.678-7.438-9.154-7.601l-15.937-.082c0 4.74 0 9.48.082 14.14 1.716 1.47 6.62 2.615 13.077 2.615Zm116.861-42.909c.654 19.86.654 38.74 0 58.192-7.519 1.226-15.528 1.226-23.047 0l-2.289-13.812h-1.471c-2.942 12.014-9.317 15.774-19.207 15.774-20.023 0-23.701-16.346-23.701-36.452 0-5.067.163-12.014.163-23.702a90.967 90.967 0 0 1 26.644 0V65.25c0 8.337 4.25 11.442 9.317 11.442 3.596 0 7.356-1.798 9.236-4.822V36.154a76.09 76.09 0 0 1 24.355 0Zm10.109 58.192c-.654-19.86-.654-38.74 0-58.192 7.519-1.226 15.528-1.226 23.048 0l2.288 13.813h1.471c2.942-12.014 9.317-15.774 19.207-15.774 20.024 0 23.701 16.346 23.701 36.451 0 5.068-.163 12.015-.163 23.702a90.974 90.974 0 0 1-26.644 0V65.25c0-8.336-4.25-11.442-9.317-11.442-3.596 0-7.356 1.798-9.236 4.822v35.716a76.095 76.095 0 0 1-24.355 0Z"></path></svg></a><nav aria-label="Primary" class="ml-2 hidden shrink-0 items-center gap-0.5 md:flex"><a class="nav-link rounded-full px-3 py-1.5 text-[14.5px] font-medium text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="/docs" data-link="" data-prefetch="true">Docs</a><a class="nav-link rounded-full px-3 py-1.5 text-[14.5px] font-medium text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="/guides" data-link="" data-prefetch="true">Guides</a><a aria-current="page" class="nav-link rounded-full px-3 py-1.5 text-[14.5px] font-medium text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="/reference" data-link="" data-prefetch="true">Reference</a><a class="nav-link rounded-full px-3 py-1.5 text-[14.5px] font-medium text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="/blog" data-link="" data-prefetch="true">Blog</a></nav><div class="flex min-w-0 flex-1 items-center justify-end md:justify-start md:pl-2"><button type="button" class="group hidden h-9 w-full min-w-0 max-w-[26rem] items-center gap-2.5 border border-line bg-canvas px-3 text-left text-[13.5px] text-fg-faint hover:border-rule md:flex" aria-label="Search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4"><path d="M7 3h6l4 4v6l-4 4H7l-4-4V7z"></path><path d="M15.5 15.5L21 21"></path></svg><span class="flex-1 truncate">Search APIs, docs, guides…</span><kbd aria-label="Slash" class="readout inline-flex h-[18px] min-w-[18px] items-center justify-center gap-[3px] border border-line px-1 text-[10.5px] leading-none text-fg-faint"><span>/</span></kbd></button><button type="button" aria-label="Search" class="inline-flex h-10 w-10 items-center justify-center border border-rule text-fg md:hidden"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M7 3h6l4 4v6l-4 4H7l-4-4V7z"></path><path d="M15.5 15.5L21 21"></path></svg></button></div><div class="hidden shrink-0 items-center gap-1 md:flex"><a aria-label="GitHub" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="https://github.com/oven-sh/bun" data-link="" data-prefetch="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M9.5 21v-3.5l1-1.5C7 15.5 5 14 5 10.5L6.5 8 6 4.5l3.5 1.5h5l3.5-1.5-.5 3.5 1.5 2.5c0 3.5-2 5-5.5 5.5l1 1.5V21"></path><path d="M9.5 18.5H7l-1.5-2L4 15.5"></path><rect x="8.5" y="9.75" width="1.75" height="2.25" fill="currentColor" stroke="none"></rect><rect x="13.75" y="9.75" width="1.75" height="2.25" fill="currentColor" stroke="none"></rect></svg></a><a aria-label="Discord" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-fg-muted transition-colors hover:bg-subtle hover:text-fg" href="/discord" data-link="" data-prefetch="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M8 4.5l1 2h6l1-2 4 1.5 1.5 7-1.5 5-3.5 1.5-1.5-2h-6l-1.5 2L4 18l-1.5-5L4 6z"></path><path d="M8.5 16.5c1 .5 2.25.75 3.5.75s2.5-.25 3.5-.75"></path><rect x="7.5" y="10" width="2.5" height="3.25" fill="currentColor" stroke="none"></rect><rect x="14" y="10" width="2.5" height="3.25" fill="currentColor" stroke="none"></rect></svg></a><a class="group/btn cut relative inline-flex select-none items-center justify-center gap-2.5 whitespace-nowrap font-semibold [font-stretch:100%] tracking-[-0.005em] transition-none active:translate-y-
1px h-9 px-3.5 text-[13.5px] [--cut:7px] bg-fg text-canvas hover:bg-accent hover:text-white ml-1" href="/get" data-link="" data-prefetch="true">Install</a></div><div class="flex items-center gap-2 md:hidden"><button type="button" aria-label="Open menu" aria-expanded="false" aria-controls="mobile-menu" data-slider-open="mobile-menu" class="inline-flex h-10 w-10 items-center justify-center border border-rule text-fg"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5"><path d="M4 6h16"></path><path d="M4 12h16"></path><path d="M4 18h16"></path></svg></button></div></div></header><div id="mobile-menu" data-slider="mobile-menu" class="slider-menu fixed inset-0 z-50 flex flex-col bg-canvas md:hidden" aria-hidden="true" inert=""><div class="flex h-header items-center justify-between px-gutter"><a aria-label="Bun — home" class="group/logo flex shrink-0 items-center gap-2.5" href="/" data-link="" data-prefetch="true"><img src="/logo.svg" alt="" width="40" height="35" class="h-[34px] w-auto transition-transform duration-300 ease-out group-hover/logo:-rotate-[10deg] group-active/logo:translate-y-px"/><svg viewBox="20 18 262 82" fill="currentColor" aria-hidden="true" class="h-[19px] w-auto text-fg"><path d="M68.014 97.942c-26.4 0-40.947-3.678-41.6-4.495a1050.447 1050.447 0 0 1 0-68.081c.653-.735 15.12-3.433 41.6-3.433 24.6 0 33.999 9.072 33.999 19.943 0 7.028-4.25 13.403-12.75 17.081v1.226c10.217.736 15.202 7.437 15.202 15.038 0 11.688-11.85 22.721-36.451 22.721ZM51.259 55.606l15.937.082c5.231-.817 8.746-3.678 8.746-8.091 0-5.558-4.169-8.582-11.606-8.582-6.375 0-11.197 1.062-12.995 2.452-.082 4.659-.082 9.48-.082 14.14Zm13.159 23.457c7.437 0 11.932-3.351 11.932-9.072 0-4.659-3.678-7.438-9.154-7.601l-15.937-.082c0 4.74 0 9.48.082 14.14 1.716 1.47 6.62 2.615 13.077 2.615Zm116.861-42.909c.654 19.86.654 38.74 0 58.192-7.519 1.226-15.528 1.226-23.047 0l-2.289-13.812h-1.471c-2.942 12.014-9.317 15.774-19.207 15.774-20.023 0-23.701-16.346-23.701-36.452 0-5.067.163-12.014.163-23.702a90.967 90.967 0 0 1 26.644 0V65.25c0 8.337 4.25 11.442 9.317 11.442 3.596 0 7.356-1.798 9.236-4.822V36.154a76.09 76.09 0 0 1 24.355 0Zm10.109 58.192c-.654-19.86-.654-38.74 0-58.192 7.519-1.226 15.528-1.226 23.048 0l2.288 13.813h1.471c2.942-12.014 9.317-15.774 19.207-15.774 20.024 0 23.701 16.346 23.701 36.451 0 5.068-.163 12.015-.163 23.702a90.974 90.974 0 0 1-26.644 0V65.25c0-8.336-4.25-11.442-9.317-11.442-3.596 0-7.356 1.798-9.236 4.822v35.716a76.095 76.095 0 0 1-24.355 0Z"></path></svg></a><button type="button" aria-label="Close menu" class="inline-flex h-10 w-10 items-center justify-center border border-rule text-fg"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5"><path d="M6 6l12 12"></path><path d="M18 6L6 18"></path></svg></button></div><nav class="flex flex-1 flex-col gap-1 overflow-y-auto px-gutter pb-10 pt-4" aria-label="Mobile"><a class="display flex items-center justify-between border-b border-line py-4 text-[1.75rem] font-semibold text-fg aria-[current=page]:text-accent-strong" style="transition-delay:0ms" href="/" data-link="" data-prefetch="true">Home<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5 -rotate-0 text-fg-faint"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></a><a class="display flex items-center justify-between border-b border-line py-4 text-[1.75rem] font-semibold text-fg aria-[current=page]:text-accent-strong" style="transition-delay:30ms" href="/docs" data-link="" data-prefetch="true">Docs<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5 -rotate-0 text-fg-faint"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></a><a class="display flex items-center justify-between border-b border-line py-4 text-[1.75rem] font-semibold text-fg aria-[current=page]:text-accent-strong" style="transition-delay:60ms" href="/guides" data-link="" data-prefetch="true">Guides<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5 -rotate-0 text-fg-faint"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></a><a aria-current="page" class="display flex items-center justify-between border-b border-line py-4 text-[1.75rem] font-semibold text-fg aria-[current=page]:text-accent-strong" style="transition-delay:90ms" href="/reference" data-link="" data-prefetch="true">Reference<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5 -rotate-0 text-fg-faint"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></a><a class="display flex items-center justify-between border-b border-line py-4 text-[1.75rem] font-semibold text-fg aria-[current=page]:text-accent-strong" style="transition-delay:120ms" href="/blog" data-link="" data-prefetch="true">Blog<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-5 w-5 -rotate-0 text-fg-faint"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></a><div class="mt-8 flex flex-col gap-3"><a class="group/btn cut relative inline-flex select-none items-center justify-center gap-2.5 whitespace-nowrap font-semibold [font-stretch:100%] tracking-[-0.005em] transition-none active:translate-y-
1px h-[52px] px-6 text-[16px] [--cut:11px] bg-accent text-white hover:bg-fg hover:text-canvas w-full" href="/get" data-link="" data-prefetch="true">Install Bun v<!-- -->1.4.2</a><div class="mt-4 flex items-center justify-between"><div class="flex items-center gap-2"><a aria-label="GitHub" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-line text-fg-muted hover:text-fg" href="https://github.com/oven-sh/bun" data-link="" data-prefetch="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M9.5 21v-3.5l1-1.5C7 15.5 5 14 5 10.5L6.5 8 6 4.5l3.5 1.5h5l3.5-1.5-.5 3.5 1.5 2.5c0 3.5-2 5-5.5 5.5l1 1.5V21"></path><path d="M9.5 18.5H7l-1.5-2L4 15.5"></path><rect x="8.5" y="9.75" width="1.75" height="2.25" fill="currentColor" stroke="none"></rect><rect x="13.75" y="9.75" width="1.75" height="2.25" fill="currentColor" stroke="none"></rect></svg></a><a aria-label="Discord" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-line text-fg-muted hover:text-fg" href="/discord" data-link="" data-prefetch="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M8 4.5l1 2h6l1-2 4 1.5 1.5 7-1.5 5-3.5 1.5-1.5-2h-6l-1.5 2L4 18l-1.5-5L4 6z"></path><path d="M8.5 16.5c1 .5 2.25.75 3.5.75s2.5-.25 3.5-.75"></path><rect x="7.5" y="10" width="2.5" height="3.25" fill="currentColor" stroke="none"></rect><rect x="14" y="10" width="2.5" height="3.25" fill="currentColor" stroke="none"></rect></svg></a><a aria-label="X (Twitter)" class="inline-flex h-10 w-10 items-center justify-center rounded-full border border-line text-fg-muted hover:text-fg" href="https://x.com/bunjavascript" data-link="" data-prefetch="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-[18px] w-[18px]"><path d="M3.5 3.75h4.75l12.25 15v1.5h-4.75z" fill="currentColor" opacity="0.3" stroke="none"></path><path d="M3.5 3.75h4.75l12.25 15v1.5h-4.75z"></path><path d="M19.75 3.75l-6.1 6.95M4.25 20.25l6.1-6.95"></path></svg></a></div></div></div></nav></div><main id="main" data-pagefind-body="true" class="flex-1"><div class="mx-auto flex w-full max-w-[100rem]"><button type="button" class="mono fixed bottom-4 left-4 z-30 inline-flex items-center gap-2 rounded-full border border-line bg-surface px-4 py-2 text-[12px] uppercase tracking-[0.12em] text-fg md:hidden">Browse symbols</button><aside data-pagefind-ignore="true" class="fixed inset-y-0 left-0 z-50 w-[min(20rem,85vw)] -translate-x-full overflow-y-auto border-r border-line bg-canvas transition-transform duration-300 scroll-thin md:sticky md:top-header md:z-0 md:h-[calc(100vh-var(--header-h))] md:w-72 md:translate-x-0 md:bg-transparent md:transition-none lg:w-80"><div class="flex items-center justify-between border-b border-line px-5 py-3 md:hidden"><span class="label">Reference</span><button type="button" aria-label="Close" class="inline-flex h-9 w-9 items-center justify-center rounded-full border border-line"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4"><path d="M6 6l12 12"></path><path d="M18 6L6 18"></path></svg></button></div><nav id="ref-sidebar" aria-label="Reference"><div class="px-5 py-8"><p class="mono mb-2 text-[11px] font-medium uppercase tracking-[0.14em] text-fg-faint">Modules</p><ul><li><a href="/reference/bun" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">Bun</a></li><li><a href="/reference/bun/bundle" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">bun:bundle</a></li><li><a href="/reference/bun/ffi" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">bun:ffi</a></li><li><a href="/reference/bun/jsc" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">bun:jsc</a></li><li><a href="/reference/bun/sqlite" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">bun:sqlite</a></li><li><a href="/reference/bun/test" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">bun:test</a></li><li><a href="/reference/globals" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">Globals</a></li><li><a href="/reference/node/assert" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:assert</a></li><li><a href="/reference/node/async_hooks" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:async_hooks</a></li><li><a href="/reference/node/buffer" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:buffer</a></li><li><a href="/reference/node/child_process" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:child_process</a></li><li><a href="/reference/node/cluster" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:cluster</a></li><li><a href="/reference/node/crypto" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:crypto</a></li><li><a href="/reference/node/dgram" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:dgram</a></li><li><a href="/reference/node/diagnostics_channel" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:diagnostics_channel</a></li><li><a href="/reference/node/dns" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:dns</a></li><li><a href="/reference/node/dns/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:dns/promises</a></li><li><a href="/reference/node/events" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:events</a></li><li><a href="/reference/node/ffi" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:ffi</a></li><li><a href="/reference/node/fs" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:fs</a></li><li><a href="/reference/node/fs/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:fs/promises</a></li><li><a href="/reference/node/http" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:http</a></li><li><a href="/reference/node/http2" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:http2</a></li><li><a href="/reference/node/https" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:https</a></li><li><a href="/reference/node/inspector" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:inspector</a></li><li><a href="/reference/node/inspector/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:inspector/promises</a></li><li><a href="/reference/node/module" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:module</a></li><li><a href="/reference/node/net" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:net</a></li><li><a href="/reference/node/os" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:os</a></li><li><a href="/reference/node/path" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:path</a></li><li><a href="/reference/node/perf_hooks" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:perf_hooks</a></li><li><a href="/reference/node/punycode" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:punycode</a></li><li><a href="/reference/node/querystring" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:querystring</a></li><li><a href="/reference/node/quic" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:quic</a></li><li><a href="/reference/node/readline" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:readline</a></li><li><a href="/reference/node/readline/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:readline/promises</a></li><li><a href="/reference/node/stream" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:stream</a></li><li><a href="/reference/node/stream/consumers" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:stream/consumers</a></li><li><a href="/reference/node/stream/iter" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:stream/iter</a></li><li><a href="/reference/node/stream/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:stream/promises</a></li><li><a href="/reference/node/stream/web" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:stream/web</a></li><li><a href="/reference/node/string_decoder" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:string_decoder</a></li><li><a href="/reference/node/test" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:test</a></li><li><a href="/reference/node/test/reporters" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:test/reporters</a></li><li><a href="/reference/node/timers/promises" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:timers/promises</a></li><li><a href="/reference/node/tls" class="-mx-2 block truncate rounded-lg px-2
1 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:tls</a></li><li><a href="/reference/node/trace_events" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:trace_events</a></li><li><a href="/reference/node/tty" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:tty</a></li><li><a href="/reference/node/url" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:url</a></li><li><a href="/reference/node/util" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:util</a></li><li><a href="/reference/node/util/types" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:util/types</a></li><li><a href="/reference/node/v8" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:v8</a></li><li><a href="/reference/node/vfs" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:vfs</a></li><li><a href="/reference/node/vm" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:vm</a></li><li><a href="/reference/node/wasi" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:wasi</a></li><li><a href="/reference/node/worker_threads" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:worker_threads</a></li><li><a href="/reference/node/zlib" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:zlib</a></li><li><a href="/reference/node/zlib/iter" class="-mx-2 block truncate rounded-lg px-2 py-[5px] text-[13.5px] text-fg-muted transition-colors hover:bg-subtle hover:text-fg aria-[current=page]:bg-subtle aria-[current=page]:font-medium aria-[current=page]:text-fg">node:zlib/iter</a></li></ul></div></nav></aside><div class="min-w-0 flex-auto px-gutter py-10 md:px-10 lg:px-14"><div id="ref-content"><div class="max-w-5xl"><p class="mono text-[12px] uppercase tracking-[0.16em] text-fg-faint">API Reference</p><h1 class="display mt-3 text-[clamp(2rem,4.4vw,3rem)] font-bold leading-none text-fg">Every API, from the types</h1><p class="mt-4 max-w-[62ch] text-[1.02rem] leading-relaxed text-fg-muted">Generated from Bun&#x27;s TypeScript definitions in <a href="https://github.com/oven-sh/bun/tree/main/packages/bun-types" class="text-fg underline decoration-line-strong underline-offset-4 hover:
1decoration-accent" target="_blank" rel="noopener">packages/bun-types</a>. Symbols are colour-coded by kind; press <kbd class="mono rounded border border-line bg-subtle px-1 text-[11px]">/</kbd> to search.</p><h2 class="font-bold tracking-[-0.015em] mb-4 mt-12 text-[1.4rem] font-semibold text-fg">Bun modules</h2><div class="ruled grid sm:grid-cols-2 xl:grid-cols-3"><a href="/reference/bun" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">Bun</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Core runtime APIs: HTTP, SQL, S3, files, processes, hashing and more.</span></a><a href="/reference/bun/bundle" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">bun:bundle</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Compile-time feature flags for bun build.</span></a><a href="/reference/bun/ffi" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">bun:ffi</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Foreign Function Interface for calling native libraries from JavaScript.</span></a><a href="/reference/bun/jsc" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">bun:jsc</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Low-level JavaScriptCore engine hooks for advanced use cases.</span></a><a href="/reference/bun/sqlite" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">bun:sqlite</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">The built-in, synchronous, very fast SQLite driver.</span></a><a href="/reference/bun/test" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">bun:test</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">The Jest-compatible test runner: describe, test, expect, mock.</span></a><a href="/reference/globals" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">Globals</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Everything available without an import: fetch, WebSocket, Bun, process…</span></a></div><h2 class="font-bold tracking-[-0.015em] mb-4 mt-12 flex items-center gap-2 text-[1.4rem] font-semibold text-fg">Node.js modules</h2><div class="ruled grid sm:grid-cols-2 xl:grid-cols-3"><a href="/reference/node/assert" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:assert</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:assert module.</span></a><a href="/reference/node/async_hooks" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:async_hooks</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:async_hooks module.</span></a><a href="/reference/node/buffer" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:buffer</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:buffer module.</span></a><a href="/reference/node/child_process" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:child_process</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:child_process module.</span></a><a href="/reference/node/cluster" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:cluster</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:cluster module.</span></a><a href="/reference/node/crypto" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:crypto</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:crypto module.</span></a><a href="/reference/node/dgram" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:dgram</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:dgram module.</span></a><a href="/reference/node/diagnostics_channel" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:diagnostics_channel</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:diagnostics_channel module.</span></a><a href="/reference/node/dns" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:dns</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:dns module.</span></a><a href="/reference/node/dns/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:dns/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:dns/promises module.</span></a><a href="/reference/node/events" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:events</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:events module.</span></a><a href="/reference/node/ffi" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:ffi</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:ffi module.</span></a><a href="/reference/node/fs" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:fs</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:fs module.</span></a><a href="/reference/node/fs/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:fs/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:fs/promises module.</span></a><a href="/reference/node/http" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:http</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:http module.</span></a><a href="/reference/node/http2" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:http2</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 
17"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:http2 module.</span></a><a href="/reference/node/https" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:https</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:https module.</span></a><a href="/reference/node/inspector" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:inspector</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:inspector module.</span></a><a href="/reference/node/inspector/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:inspector/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:inspector/promises module.</span></a><a href="/reference/node/module" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:module</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:module module.</span></a><a href="/reference/node/net" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:net</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:net module.</span></a><a href="/reference/node/os" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:os</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:os module.</span></a><a href="/reference/node/path" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:path</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:path module.</span></a><a href="/reference/node/perf_hooks" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:perf_hooks</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:perf_hooks module.</span></a><a href="/reference/node/punycode" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:punycode</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:punycode module.</span></a><a href="/reference/node/querystring" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:querystring</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:querystring module.</span></a><a href="/reference/node/quic" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:quic</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:quic module.</span></a><a href="/reference/node/readline" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:readline</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:readline module.</span></a><a href="/reference/node/readline/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:readline/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:readline/promises module.</span></a><a href="/reference/node/stream" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:stream</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:stream module.</span></a><a href="/reference/node/stream/consumers" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:stream/consumers</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:stream/consumers module.</span></a><a href="/reference/node/stream/iter" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:stream/iter</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:stream/iter module.</span></a><a href="/reference/node/stream/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:stream/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:stream/promises module.</span></a><a href="/reference/node/stream/web" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:stream/web</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:stream/web module.</span></a><a href="/reference/node/string_decoder" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:string_decoder</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:string_decoder module.</span></a><a href="/reference/node/test" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:test</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:test module.</span></a><a href="/reference/node/test/reporters" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:test/reporters</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:test/reporters module.</span></a><a href="/reference/node/timers/promises" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:timers/promises</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:timers/promises module.</span></a><a href="/reference/node/tls" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:tls</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:tls module.</span></a><a href="/reference/node/trace_events" class="group/m flex flex-col
1 bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:trace_events</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:trace_events module.</span></a><a href="/reference/node/tty" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:tty</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:tty module.</span></a><a href="/reference/node/url" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:url</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:url module.</span></a><a href="/reference/node/util" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:util</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:util module.</span></a><a href="/reference/node/util/types" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:util/types</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:util/types module.</span></a><a href="/reference/node/v8" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:v8</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:v8 module.</span></a><a href="/reference/node/vfs" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:vfs</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:vfs module.</span></a><a href="/reference/node/vm" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:vm</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:vm module.</span></a><a href="/reference/node/wasi" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:wasi</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:wasi module.</span></a><a href="/reference/node/worker_threads" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:worker_threads</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:worker_threads module.</span></a><a href="/reference/node/zlib" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:zlib</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:zlib module.</span></a><a href="/reference/node/zlib/iter" class="group/m flex flex-col bg-surface p-5 transition-colors hover:bg-subtle"><span class="flex items-center justify-between"><code class="text-[15px] font-medium text-fg">node:zlib/iter</code><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter" aria-hidden="true" class="h-4 w-4 text-fg-faint opacity-0 transition-[opacity,transform] group-hover/m:translate-x-0.5 group-hover/m:opacity-100"><path d="M6 18L17 7"></path><path d="M9 6h9v9"></path></svg></span><span class="mt-1.5 text-[13.5px] leading-relaxed text-fg-muted">Bun&#x27;s implementation of the node:zlib/iter module.</span></a></div></div></div></div></div></main><button type="button" aria-label="Ask AI about Bun" class="ask-fab fixed bottom-4 right-4 z-[110] inline-flex h-10 items-center gap-2 border border-rule bg-canvas px-3.5 text-[13.5px] font-medium text-fg shadow-[0_2px_10px_rgba(0,0,0,0.12)] transition-colors hover:bg-subtle print:hidden"><span class="t-icon inline-flex shrink-0 [&amp;&gt;svg]:h-full [&amp;&gt;svg]:w-full h-4 w-4" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="square" stroke-linejoin="miter"><path d="M9 7l2 4.5 4.5 2-4.5 2L9 20l-2-4.5-4.5-2L7 11.5z"/><path d="M18 2l1.25 2.75L22 6l-2.75 1.25L18 10l-1.25-2.75L14 6l2.75-1.25z" fill="currentColor" stroke="none"/><path d="M18.5 16.5v4M16.5 18.5h4"/></svg></span>Ask AI</button></div></div>
1<script id="__bun_data" type="application/json">{}</script>
1<script type="module" src="/_assets/page-reference-index-3jnma74g.js"></script>
1<script defer="" src="/_assets/analytics-mxqb4sf1.js"></script>
1<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"c24e29d7664b496aa2b3c8bf0fd0ec9d","spa":2}' crossorigin="anonymous"></script>
1
2</body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.