https://github.com/han-tyumi/amber
✨🦕 Deno Bindings For Gleam 🧡
https://github.com/han-tyumi/amber
bindings deno ffi gleam
Last synced: 3 months ago
JSON representation
✨🦕 Deno Bindings For Gleam 🧡
- Host: GitHub
- URL: https://github.com/han-tyumi/amber
- Owner: han-tyumi
- License: apache-2.0
- Created: 2024-10-20T21:31:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-08T02:00:27.000Z (about 1 year ago)
- Last Synced: 2026-02-11T18:30:25.478Z (4 months ago)
- Topics: bindings, deno, ffi, gleam
- Language: Gleam
- Homepage:
- Size: 133 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Amber 🧡
[](https://hex.pm/packages/amber)
[](https://hexdocs.pm/amber/)
✨🦕 [Deno](https://deno.com/) Bindings For [Gleam](https://gleam.run/) 🧡
## Installation
```sh
gleam add amber
```
Amber only supports the JavaScript target using the Deno runtime.
The following configuration should be used in your `gleam.toml`.
```toml
target = "javascript"
[javascript]
runtime = "deno"
```
## Usage
```gleam
import amber/deno
pub fn main() {
deno.write_text_file_sync("amber.txt", "deno bindings for gleam", [])
}
```
Further documentation can be found at .
## Contributing
### Prerequisites
- [Deno](https://docs.deno.com/runtime/getting_started/installation/)
- [Gleam](https://gleam.run/getting-started/installing/)
- [Just](https://just.systems/man/en/prerequisites.html)
- [Rebar3](https://rebar3.org/docs/getting-started/)
- [Watchexec](https://github.com/watchexec/watchexec/tree/main?tab=readme-ov-file#install)
_Tip_: You can install these tools using a version manager like
[asdf](https://asdf-vm.com/guide/getting-started.html) or
[mise](https://mise.jdx.dev/getting-started.html), which can read from
`.tool-versions`.
### Initial Setup
```sh
just
```
### Development
```sh
just watch build test
```