Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghivert/gleam-lang-npm
Gleam compiler on NPM to use in your CI
https://github.com/ghivert/gleam-lang-npm
build ci gleam javascript npm
Last synced: 1 day ago
JSON representation
Gleam compiler on NPM to use in your CI
- Host: GitHub
- URL: https://github.com/ghivert/gleam-lang-npm
- Owner: ghivert
- License: mit
- Created: 2024-05-16T14:21:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T14:06:25.000Z (3 months ago)
- Last Synced: 2024-08-07T17:05:24.161Z (3 months ago)
- Topics: build, ci, gleam, javascript, npm
- Language: JavaScript
- Homepage: https://npmjs.com/package/gleam-lang
- Size: 113 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gleam Lang
[Gleam](https://gleam.run) is a functional language that compiles to JavaScript!
More information can be found
[in the documentation](https://gleam.run/documentation/) directly, to get you
started!## What is this package for?
For stantard development purposes, a classic gleam installation should be done,
[following the official instructions](https://gleam.run/getting-started/installing/).
However, having a gleam package on NPM allows everyone to embed gleam directly
from a `package.json`, for certain scenarios:- When running on CI, and dependent on the `package.json`.
- When you can't install softwares directly.
- When you want to maintain multiple versions of gleam with NPM.## Installation
```
yarn add @chouqueth/gleam
```## Usage
```
yarn gleam --help
```## Goal of the package
This package will mimic main releases of gleam, meaning all intermediates
versions (1.1.0-rc1 for instance) will not be taken into account. Expect a new
version of this package to ship soon after the official releases lands on
GitHub.## Limitations
Because gleam compiles both to JS and Erlang, the gleam compiler can output both
code. However, do not expect this package to help in Erlang development. This
package is mainly aimed to use in the JS ecosystem, and do not ship Erlang
runtime neither rebar3. Follow the classical installation of gleam and Erlang to
get started with Erlang development!In case you succeed to use this package in an Erlang workflow, congrats! You
achieved a strong engineering achievement! Do not ask for help if it bug though!
😇