Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 432 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 432 Bytes

Elm FFI

Foreign function interface for Elm.

Read The Limits of Elm/JS Interop first.

Install

  1. npm i pravdomil/elm-ffi --save-dev
  2. Add node_modules/elm-ffi/src into elm.json/source-directories.

Usage

  1. Use JavaScript module.
  2. elm make src/Main.elm --output elm.js
  3. elm-ffi elm.js

To show commandline options run elm-ffi.