You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
llms.txt and sitemap.xml were missing the pages added since: glob, process,
path, http guides, plus migration, typescript, and errors. Add all seven, and
note `esrun types --install` on the CLI line.
Copy file name to clipboardExpand all lines: site/public/llms.txt
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,14 @@ ES-Runtime (`esrun`) runs standard ECMAScript modules with only the Web-platform
12
12
- [Global objects](https://esrun.opentechf.org/docs/globals): the Web-standard globals available (fetch, URL, streams, WebCrypto, encoding, timers, events) and what is intentionally absent.
13
13
- [Security model](https://esrun.opentechf.org/docs/security): how host I/O is mediated — capability checks enforced at the op boundary.
14
14
- [Scope & non-goals](https://esrun.opentechf.org/docs/scope): a runtime, not a toolchain — explicitly no Node.js compatibility, CommonJS, TypeScript, JSX, bundler, package installer, test runner, FFI, or workers.
15
+
- [Migration guide](https://esrun.opentechf.org/docs/migration): moving from Node.js, Bun, or Deno — equivalents for `process`/env, the filesystem, and the explicit `runtime:` import model (no ambient globals).
16
+
- [TypeScript setup](https://esrun.opentechf.org/docs/typescript): editor types for the `runtime:*` modules via `esrun types --install` (writes the definitions into `node_modules` and wires `tsconfig.json`).
17
+
- [Error diagnostics](https://esrun.opentechf.org/docs/errors): how uncaught exceptions and unhandled rejections are reported — stack traces, source positions, and the CLI error format.
15
18
16
19
## API reference
17
20
18
21
- [API overview](https://esrun.opentechf.org/api): the surface area — the `runtime:` standard modules and the CLI.
- [runtime:fs](https://esrun.opentechf.org/api/fs): Blob-based async file I/O — `file()` handles, `write()`, `readDir`, `stat`, `mkdir`, `remove`, `rename`, and `Glob`; confined to a root jail. Gated on FileRead/FileWrite.
@@ -31,6 +34,10 @@ ES-Runtime (`esrun`) runs standard ECMAScript modules with only the Web-platform
31
34
## Guides
32
35
33
36
- [File handling](https://esrun.opentechf.org/docs/guides/file-handling): reading, writing, streaming, and globbing files with `runtime:fs`.
37
+
- [Glob matching](https://esrun.opentechf.org/docs/glob): match and scan paths with the `Glob` API — every supported pattern token (`*`, `**`, `?`, `[abc]`, `{a,b}`, `!`).
38
+
- [Process & Env](https://esrun.opentechf.org/docs/process): reading environment variables, arguments, and the working directory via `runtime:process`.
39
+
- [Path handling](https://esrun.opentechf.org/docs/path): building and parsing paths with `runtime:path` — `join`, `resolve`, `dirname`, `basename`, `extname`.
40
+
- [HTTP server](https://esrun.opentechf.org/docs/http): serving requests with `runtime:http` `serve(options, handler)` and web `Request`/`Response`; frameworks like Hono work out of the box.
0 commit comments