# The standard library

The prelude is available everywhere; other modules are imported with `use std/name` (`use std/{os, json}` for several).

| module                                                   |                                                                                                              |
| -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [`prelude`](https://gojo.egoist.dev/docs/std/prelude.md) | The prelude: available in every Gojo file without an import.                                                 |
| [`fmt`](https://gojo.egoist.dev/docs/std/fmt.md)         | Formatting and printing.                                                                                     |
| [`os`](https://gojo.egoist.dev/docs/std/os.md)           | Files, directories, the environment and processes.                                                           |
| [`math`](https://gojo.egoist.dev/docs/std/math.md)       | Floating-point math and integer limits.                                                                      |
| [`time`](https://gojo.egoist.dev/docs/std/time.md)       | Time: a monotonic clock for measuring, the wall clock and calendar dates.                                    |
| [`task`](https://gojo.egoist.dev/docs/std/task.md)       | Tasks and cancellation.                                                                                      |
| [`net`](https://gojo.egoist.dev/docs/std/net.md)         | TCP networking.                                                                                              |
| [`io`](https://gojo.egoist.dev/docs/std/io.md)           | Errors from the operating system, files, processes and the network, and the interfaces for streams of bytes. |
| [`bufio`](https://gojo.egoist.dev/docs/std/bufio.md)     | Buffered reading and writing on top of io.Reader / io.Writer.                                                |
| [`json`](https://gojo.egoist.dev/docs/std/json.md)       | JSON: parse text into a `json.Value` tree and encode it back.                                                |
| [`http`](https://gojo.egoist.dev/docs/std/http.md)       | HTTP/1.1: a server built on tasks, scopes and cancellation, and a small client.                              |
| [`strings`](https://gojo.egoist.dev/docs/std/strings.md) | Building strings piece by piece.                                                                             |
