Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@node-ts/bus-messages
Advanced tools
[![Greenkeeper badge](https://badges.greenkeeper.io/node-ts/bus.svg)](https://greenkeeper.io/) [![CircleCI](https://circleci.com/gh/node-ts/bus/tree/master.svg?style=svg)](https://circleci.com/gh/node-ts/bus/tree/master)
This package should be consumed wherever your application defines message contracts. Messages are small pieces of data that get passed around between services. They can define an instruction to perform an action, or report that something has just occurred.
@node-ts/bus-messages
defines three types of messages:
Commands are a type of message that represents an instruction to do work. These can be technical instructions such as BackupDatabase
, ScaleOutLoadBalancer
, or modeled after your business domains like ChargeCreditCard
, PostMerchandise
.
A commands are sent to a single service for processing, and generally result in the publication of one or more Events
An event is a message emitted by the system when "something" happens. Again this could be a technical task being completed such as DatabaseBackedup
, LoadBalancerScaledOut
or as a result of changes in your business CreditCardCharged
, MerchandisePosted
.
FAQs
A core set of message definitions for distributed applications.
The npm package @node-ts/bus-messages receives a total of 954 weekly downloads. As such, @node-ts/bus-messages popularity was classified as not popular.
We found that @node-ts/bus-messages demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.