|elm-version||0.17.1 <= v < 0.18.0|
|Committed At||2016-11-21 22:34:14 UTC|
Deprecated as of Elm 0.18.0 thanks to Platform.program effectively doing the same thing.
For Elm 0.18.0, instead see our Port Program Examples.
Elm 0.17.1 needed a better way to demonstrate how ports work. Though there is some good documentation for Elm, most has revolved around HTML. Examples that don't actually use HTML, for Node JS, still have a significant amount of cruft to hamper a beginner's understanding of how to get a minimal proof of concept working.
Models probably aren't needed for simple use either, so SimplePortProgram provides a way to interoperate without that worry. You only need to concern yourself with the structure of data coming and going to/from Elm, and how to act on messages.
Look in the examples folder. It's pretty straightforward.