@avh4/node-elm-compiler

A Node.js interface to the Elm compiler binaries (v0.16).

Usage no npm install needed!

<script type="module">
  import avh4NodeElmCompiler from 'https://cdn.skypack.dev/@avh4/node-elm-compiler';
</script>

README

node-elm-compiler

Wraps Elm and exposes a Node API to compile Elm sources.

Current Elm version is 0.16.

Example

$ npm install
$ cd examples
$ node compileHelloWorld.js