inoas / gleam-stdlib

🎁 Gleam's standard library

Home Page:https://hexdocs.pm/gleam_stdlib/

Repository from Github https://github.cominoas/gleam-stdlibRepository from Github https://github.cominoas/gleam-stdlib

stdlib

GitHub release Discord chat CI

Gleam's standard library! Documentation available on HexDocs.

Installation

Add gleam_stdlib to your Gleam project.

gleam add gleam_stdlib

Usage

Import the modules you want to use and write some code!

import gleam/string

pub fn greet(name: String) -> String {
  string.concat(["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.

About

🎁 Gleam's standard library

https://hexdocs.pm/gleam_stdlib/

License:Apache License 2.0


Languages

Language:Gleam 84.0%Language:JavaScript 8.6%Language:Erlang 7.1%Language:TypeScript 0.3%