Gleam's standard library! Documentation available on HexDocs.
Add gleam_stdlib to your Gleam project.
gleam add gleam_stdlib@1importgleam/iopubfngreet(name:String)->Nil{io.println("Hello "<>name<>"!")}Gleam's standard library supports both targets: Erlang and JavaScript.
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.