Elm NRPC is a NRPC client for the elm language.
It provides a Elm library that implements the NRPC calling patterns, and a protoc plugin for generating Elm source code from a .proto file.
It relies on elm-nats for handling the NATS protocol, eriktim/elm-protocol-buffers and the protoc-gen-elm generated files for handling the protobuf encoding/decoding.
The 'examples/alloptions' application demonstrate all the features, it is probably a good idea to have look.
npm install -g protoc-gen-elm-nrpc
NO_GRPC=true protoc \
-I <include-path> \
--elm_out "excludeFile=google/protobuf/descriptor.proto:src/" \
--elm-nrpc_out "src/" \
--plugin "protoc-gen-elm-nrpc=elm-nrpc/protoc-gen-elm-nrpc/index.js" \
file.proto