1.9.0 • Published 2 years ago

npac-pdms-hemera-adapter v1.9.0

Weekly downloads
13
License
MIT
Repository
github
Last release
2 years ago

npac-pdms-hemera-adapter

Quality Check stable npm version

About

This is an npac adapter with pdms api, using Hemera.js. This adapter also provides direct nats-level functions.

The adapter can be accessed via the pdms name, and provides the following properties:

    pdms: {
         hemera: // The hemera instance
         add: // The hemera.add() function
         act: // THe hemera.act() function
         publish: // The nats.publish() function
         subscribe: // The nats.subscribe() function
         request: // A NATS-level RPC-like request function
         response: // A NATS-level RPC-like response function
    }

See the unit tests as an example for the usage of these functions.

Installation

Run the install command:

npm install --save npac-pdms-hemera-adapter

Configuration

This module uses the config.pdms property to gain its configuration parameters.

The default parameters can be found in src/config.js:

{
    pdms: {
        natsUri: process.env.PDMS_NATS_URI || "nats://demo.nats.io:4222"
    }
}

Get Help

To learn more about the tool visit the homepage.

References


This project was generated from the ncli-archetype project archetype, using the kickoff utility.

1.9.0

2 years ago

1.8.0

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.12

2 years ago

1.4.11

3 years ago

1.4.8

3 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago