oxc_resolver/
builtins.rs

1/// Node.js built-in modules
2///
3/// `node -p "[...require('module').builtinModules].map(b => JSON.stringify(b)).join(',\n')"`
4/// <https://nodejs.org/api/modules.html#core-modules>
5pub const NODEJS_BUILTINS: &[&str] = &[
6    "_http_agent",
7    "_http_client",
8    "_http_common",
9    "_http_incoming",
10    "_http_outgoing",
11    "_http_server",
12    "_stream_duplex",
13    "_stream_passthrough",
14    "_stream_readable",
15    "_stream_transform",
16    "_stream_wrap",
17    "_stream_writable",
18    "_tls_common",
19    "_tls_wrap",
20    "assert",
21    "assert/strict",
22    "async_hooks",
23    "buffer",
24    "child_process",
25    "cluster",
26    "console",
27    "constants",
28    "crypto",
29    "dgram",
30    "diagnostics_channel",
31    "dns",
32    "dns/promises",
33    "domain",
34    "events",
35    "fs",
36    "fs/promises",
37    "http",
38    "http2",
39    "https",
40    "inspector",
41    "module",
42    "net",
43    "os",
44    "path",
45    "path/posix",
46    "path/win32",
47    "perf_hooks",
48    "process",
49    "punycode",
50    "querystring",
51    "readline",
52    "repl",
53    "stream",
54    "stream/consumers",
55    "stream/promises",
56    "stream/web",
57    "string_decoder",
58    "sys",
59    "timers",
60    "timers/promises",
61    "tls",
62    "trace_events",
63    "tty",
64    "url",
65    "util",
66    "util/types",
67    "v8",
68    "vm",
69    "worker_threads",
70    "zlib",
71];