mirror of
https://github.com/khalidbelk/stdlib.git
synced 2026-06-21 03:12:51 +02:00
🎁 Gleam's standard library
- Gleam 83.9%
- JavaScript 11.5%
- Erlang 4.6%
| .github | ||
| .vscode | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitignore | ||
| CHANGELOG.md | ||
| deno.jsonc | ||
| deno.lock | ||
| gleam.toml | ||
| LICENCE | ||
| README.md | ||
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.