| CARVIEW |
Select Language
HTTP/2 301
content-type: text/html; charset=UTF-8
cache-control: private, max-age=0
location: https://hexdocs.pm/gleam_stdlib/index.html
x-cache-hits: 0, 0
x-cache-served-by: cache-iad-kjyo7100060-IAD, cache-bom-vanm7210023-BOM
x-cache-age: 0, 0
age: 0
x-cache: MISS, MISS
strict-transport-security: max-age=31536000
access-control-allow-origin: *
x-served-by: cache-bom-vanm7210023-BOM
date: Sun, 28 Dec 2025 23:37:06 GMT
content-length: 0
HTTP/2 200
last-modified: Wed, 03 Dec 2025 18:51:34 GMT
x-cache-age: 410917, 392276
x-cache-surrogate-key: docspage/gleam_stdlib
content-type: text/html
x-cache-surrogate-control: public, max-age=604800
etag: W/"87a4a17920fe7c4fbde99e2c90ec07b0"
x-cache-served-by: cache-iad-kiad7000163-IAD, cache-bom-vanm7210023-BOM
x-cache-hits: 59, 1
x-cache: HIT, HIT
cache-control: public, max-age=3600
age: 392276
strict-transport-security: max-age=31536000
access-control-allow-origin: *
x-served-by: cache-bom-vanm7210023-BOM
date: Sun, 28 Dec 2025 23:37:07 GMT
content-encoding: gzip
vary: accept-encoding
accept-ranges: none
gleam_stdlib · v0.67.1
✨
gleam_stdlib - v0.67.1
stdlib
Gleam’s standard library! Documentation available on HexDocs.
Installation
Add gleam_stdlib to your Gleam project.
gleam add gleam_stdlib
import gleam/io
pub fn greet(name: String) -> Nil {
io.println("Hello " <> name <> "!")
}
Targets
Gleam’s standard library supports both targets: Erlang and JavaScript.
Compatibility
This library is compatible with all versions of Erlang/OTP 26 and higher, as well as all NodeJS, Deno, Bun, and major browsers that are currently supported by their maintainers. If you have a compatibility issue with any platform open an issue and we’ll see what we can do to help.