pip-services3-nats-node

NATS messaging for Pip.Services in Node.js

Usage no npm install needed!

<script type="module">
  import pipServices3NatsNode from 'https://cdn.skypack.dev/pip-services3-nats-node';
</script>

README

Pip.Services Logo
NATS Messaging for Pip.Services in Node.js

This module is a part of the Pip.Services polyglot microservices toolkit.

The NATS module contains a set of components for messaging using the Nats protocol. Contains the implementation of the components for working with messages: NatsMessageQueue, NatsConnectionResolver.

The module contains the following packages:

  • Build - factory default implementation
  • Connect - components for setting up the connection to the NATS broker
  • Queues - components of working with a message queue via the NATS protocol

Quick links:

Use

Install the NPM package as

npm install pip-services3-nats-node --save

Develop

For development you shall install the following prerequisites:

  • Node.js 8+
  • Visual Studio Code or another IDE of your choice
  • Docker
  • Typescript

Install dependencies:

npm install

Compile the code:

tsc

Run automated tests:

npm test

Generate API documentation:

./docgen.ps1

Before committing changes run dockerized build and test as:

./build.ps1
./test.ps1
./clear.ps1

Contacts

The Node.js version of Pip.Services is created and maintained by Sergey Seroukhov