Amber 🧡

Package Version Hex Docs

✨🦕 Deno Bindings For Gleam 🧡

Installation

gleam add amber

Amber only supports the JavaScript target using the Deno runtime.

The following configuration should be used in your gleam.toml.

target = "javascript"

[javascript]
runtime = "deno"

Usage

import amber/deno

pub fn main() {
  deno.write_text_file_sync("amber.txt", "deno bindings for gleam", [])
}

Further documentation can be found at https://hexdocs.pm/amber.

Contributing

Prerequisites

Tip: You can install these tools using a version manager like asdf or mise, which can read from .tool-versions.

Initial Setup

just

Development

just watch build test
Search Document