@36node/bus-messenger

Bus messenger sdk for javascript.

Usage no npm install needed!

<script type="module">
  import 36nodeBusMessenger from 'https://cdn.skypack.dev/@36node/bus-messenger';
</script>

README

@36node/bus-messenger

version downloads

Install

yarn add module

Usage

const Messenger, { TBoxStation } = require("@36node/bus-messenger");

const tbox = new TBoxStation((data, push) => {
  push(data);
});

messenger
  .from("test")
  .pass(tbox)
  .deliver(writer);

Test

yarn test

Mac OS High Sierra / Mojave

OpenSSL has been upgraded in High Sierra and homebrew does not overwrite default system libraries. That means when building node-rdkafka, because you are using openssl, you need to tell the linker where to find it:

export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

module © 36node, Released under the MIT License.

Authored and maintained by 36node with help from contributors (list).

GitHub @36node