@36node/bus-messenger
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.4 • Public • Published

    @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

    Keywords

    none

    Install

    npm i @36node/bus-messenger

    DownloadsWeekly Downloads

    0

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    39.8 kB

    Total Files

    16

    Last publish

    Collaborators

    • lidongbest5
    • zzswang
    • hauy
    • 36node-robot