blob: 0cfdf61fbc16a7db6d8c2aa55ea0cf52e4d6b07e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
Bun implements a set of native APIs on the `Bun` global object and through a number of built-in modules. These APIs represent the canonical "Bun-native" way to perform some common development tasks. They are all heavily optimized for performance. Click the link in the left column to view the associated documentation.
{% table %}
- Topic
- APIs
---
- [HTTP](/docs/api/http)
- `Bun.serve`
---
- [File I/O](/docs/api/file-io)
- `Bun.file` `Bun.write`
---
- [Processes](/docs/api/spawn)
- `Bun.spawn` `Bun.spawnSync`
---
- [TCP](/docs/api/tcp)
- `Bun.listen` `Bun.connect`
---
- [Transpiler](/docs/api/transpiler)
- `Bun.Transpiler`
---
- [Routing](/docs/api/file-system-router)
- `Bun.FileSystemRouter`
---
- [HTMLRewriter](/docs/api/html-rewriter)
- `HTMLRewriter`
---
<!-- - [DNS](/docs/api/dns)
- `Bun.dns`
--- -->
- [Utils](/docs/api/utils)
- `Bun.peek` `Bun.which`
---
- [SQLite](/docs/api/sqlite)
- `bun:sqlite`
---
- [FFI](/docs/api/ffi)
- `bun:ffi`
---
- [Testing](/docs/api/test)
- `bun:test`
---
- [Node-API](/docs/api/node-api)
- `Node-API`
---
{% /table %}
|