@36node/bus-messenger
v0.1.6
Published
Bus messenger sdk for javascript.
Downloads
6
Readme
@36node/bus-messenger
Install
nvm use 10
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some fea
ture'` - Push to the branch:
git push origin my-new-feature
- 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