Socket
Socket
Sign inDemoInstall

abler-messenger

Package Overview
Dependencies
2
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    abler-messenger

基于 redis 的消息订阅发布系统


Version published
Weekly downloads
24
increased by166.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

彭彭自用包:abler-messenger

基于REDIS实现的消息订阅/发布系统

安装

npm i abler-db@latest -s
npm i abler-messenger@latest -s

引用

const Messenger = require("abler-messenger");

const msgChannel = "my_app_name";
messenger = new Messenger({conf})
	.setMessageHandle(messageHandle, msgChannel)
	.subscribe(msgChannel);
...	
messenger.publish(message, msgChannel);
...

FAQs

Last updated on 17 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc