mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
* importstar_ts * tests * run acorn test suite * bench tweaks * test * bun.build tests very incomplete * remove dataurl and base64 loaders from tests since they dont work yet * tests * stuff * stuff * add errors and array of blobs * work so far * docs * requested changes * fix overwrite docs * remove this file
4.2 KiB
4.2 KiB
Some Web APIs aren't relevant in the context of a server-first runtime like Bun, such as the DOM API or History API. Many others, though, are broadly useful outside of the browser context; when possible, Bun implements these Web-standard APIs instead of introducing new APIs.
The following Web APIs are partially or completely supported.
{% table %}
- URLs
URLURLSearchParams
- Streams
ReadableStreamWritableStreamTransformStreamByteLengthQueuingStrategyCountQueuingStrategyand associated classes
- Blob
Blob
- WebSockets
WebSocket
- Encoding and decoding
atobbtoaTextEncoderTextDecoder
- JSON
JSON
- Timeouts
setTimeoutclearTimeout
- Intervals
setIntervalclearInterval
- Crypto
cryptoSubtleCryptoCryptoKey
-
Debugging
- Microtasks
queueMicrotask
- Errors
reportError
- Realms
ShadowRealm
{% /table %}