New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@arpinum/messaging

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arpinum/messaging

Simple message bus

latest
Source
npmnpm
Version
4.0.5
Version published
Maintainers
1
Created
Source

@arpinum/messaging Build Status

Life is a little like a message in a bottle, to be carried by the winds and the tides.
Gene Tierney

@arpinum/messaging contains a simple message bus.

Installation

npm install @arpinum/messaging --save

Example

import { createMessageBus } from "@arpinum/messaging";

const bus = createMessageBus();
bus.register("PrintText", (message) => console.log(message.payload));
bus.post({ type: "PrintText", payload: "Hello world" }).catch(console.error);

Docs

  • API

License

MIT

Keywords

message

FAQs

Package last updated on 22 Nov 2024

Did you know?

Socket

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