Runtime
Bundler
Package Manager
Test Runner
Guides
Reference
Blog
Install Bun
Runtime Standards & Compatibility

Web APIs

Web-standard APIs supported by Bun for server-side JavaScript

Some Web APIs, like the DOM API and History API, aren't relevant in a server-first runtime like Bun. Many others are broadly useful outside the browser; when possible, Bun implements these Web-standard APIs instead of introducing new ones.

The following Web APIs are partially or completely supported.

On this page

No Headings