Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 461 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 461 Bytes

Experimental server side Elm package

If you have a Main module, you can run the compiled js file with node automatically.

node elm.js

You can also import the file as a library, setup any ports, and start the program manually.

var Elm = require('./elm.js');

var app = Elm.Main.worker();

The API is still very experimental.

For a more in depth example, checkout elm-oracle.