@36node/bus-messenger 中文文档教程
@36node/bus-messenger
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 已在 High Sierra 中升级,自制软件不会覆盖默认系统库。 这意味着在构建 node-rdkafka 时,因为您使用的是 openssl,所以您需要告诉链接器在哪里可以找到它:
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 feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
在贡献者 (list) 的帮助下由 36node 创作和维护。
GitHub @36node
@36node/bus-messenger
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- 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
更多
你可能也喜欢
- 2pi-paging 中文文档教程
- 9kw-captcha-node 中文文档教程
- @1hive/apps-brightid-register 中文文档教程
- @3scarecrow/vue-filter-table 中文文档教程
- @902labs/nyc-config 中文文档教程
- @9renpoto/style 中文文档教程
- @_dawiidio/react-rx-store 中文文档教程
- @abcnews/react-australia-map 中文文档教程
- @abcpros/bitcore-p2p-cash 中文文档教程
- @abide-community/parcel-plugin-clean-out-dir 中文文档教程