elixirscript/elixirscript
elixirscript/elixirscript has 1,566 GitHub stars and 69 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 04:54 UTC. Last push 2019-08-20.
Converts Elixir to JavaScript
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalElixirScript

The goal is to convert a subset (or full set) of Elixir code to JavaScript, providing the ability to write JavaScript in Elixir. This is done by taking the Elixir AST and converting it into JavaScript AST and then to JavaScript code. This is done using the Elixir-ESTree library.
Documentation for current release
Requirements
- Erlang 20 or greater
- Elixir 1.6 or greater (must be compiled with Erlang 20 or greater)
- Node 8.2.1 or greater (only for development)
Usage
Add dependency to your deps in mix.exs:
{:elixir_script, "~> x.x"}
Add elixir_script to list of mix compilers in mix.exs
Also add elixir_script configuration
def project do
[
app: :my_app,
# ...
# Add elixir_script as a compiler
compilers: Mix.compilers ++ [:elixir_script],
# Our elixir_script configuration
elixir_script: [
# Entry module. Can also be a list of modules
input: MyEntryModule,
# Output path. Either a path to a js file or a directory
output: "priv/elixir_script/build/elixirscript.build.js"
]
]
end
Run mix compile
Examples
Application
Library
Starter kit
Development
# Clone the repo
git clone [email protected]:bryanjos/elixirscript.git
#Get dependencies
make deps
# Compile
make
# Test
make test
Communication
#elixirscript on the elixir-lang Slack
Contributing
Please check the CONTRIBUTING.md
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,798 starspublic-apis/public-apis
A collective list of free APIs
497,023 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,072 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,145 stars