Skip to content

๐ŸŒผ Extra code for when running on JavaScript

Notifications You must be signed in to change notification settings

gleam-lang/javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 3, 2025
cac3386 ยท Feb 3, 2025

History

81 Commits
Feb 22, 2024
Feb 3, 2025
Feb 3, 2025
Jan 7, 2022
Feb 3, 2025
Feb 3, 2025
Feb 3, 2025
Feb 3, 2025

Repository files navigation

Gleam JavaScript ๐ŸŒผ

Work with JavaScript types and values in Gleam, including promises!

gleam add gleam_javascript@1
import gleam/io
import gleam/javascript/promise

pub fn main() {
  use data <- promise.await(some_async_function())
  io.println(data)
}

Documentation can be found at https://hexdocs.pm/gleam_javascript.

About

๐ŸŒผ Extra code for when running on JavaScript

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 5