erlang-otp
v1.2.3
Published
Node.js Erlang/OTP CLI
Downloads
1
Readme
Erlang/OTP
Node.js Erlang/OTP CLI
What is Erlang/OTP?
Read full Documentation here erlang/otp
Getting Started
npm i erlang-otp --save-dev
In your package.json
(Example):
{
"name": "example",
"version": "1.0.0",
"description": "Hello World!",
"main": "index.js",
"scripts": {
"cerl": "bin/cerl", /* Optional */
"ct_run": "bin/ct_run", /* Optional */
"dialyzer": "bin/dialyzer", /* Optional */
"erl": "bin/erl", /* Optional */
"erl_call": "bin/erl_call", /* Optional */
"erlc": "bin/erlc", /* Optional */
"escript": "bin/escript", /* Optional */
"typer": "bin/typer", /* Optional */
"example": "erl --version"
},
"author": "see AUTHORS",
"license": "ISC",
"dependencies": {
"erlang-otp": "*"
}
}
Try it:
npm run example
# Output: Erlang/OTP XX Erts XX.X
Or use the (optional) link
npm run erlang -- --version
# Output: Erlang/OTP XX Erts XX.X