1.3.2 • Published 6 months ago

npl-broker v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

npl-broker (NPLBroker)

NPM

npm bundle size

npl-broker is a core library that can be easily integrated into your HotPocket (d)app. It serves as an intermediary module to manage the messages sent and received in the NPL stream. This ensures that HotPocket (d)apps and its dependencies, which utilize NPL, can effectively transport data within a standardized format.

npl-broker provides additional features for sub-consensus messaging via the NPL stream that HotPocket doesn't provide out-of-the-box, such as: 1. Tagged NPL messages 2. Live NPL stream (The default approach to sub-consensus messaging is opt-able) 3. Chunk transfer for large content transfers 4. Content integrity verification

Installation

npm install npl-broker

Testing

The /test directory includes general HP dApps that showcases NPLBroker. Running this will result in a unit test:

sudo npm test
1.3.2

6 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.2

9 months ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago