Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplication/plugin-broker-nats

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplication/plugin-broker-nats

[![NPM Downloads](https://img.shields.io/npm/dt/@amplication/plugin-broker-nats)](https://www.npmjs.com/package/@amplication/plugin-broker-nats)

  • 2.0.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

@amplication/plugin-broker-nats

NPM Downloads

This plugin provide basic integration with NATS servers

Purpose

This plugin saves the developers the mess of boilerplate a new microservice with integration to NATS server.

Instructions

To make sure that the @amplicaiton/broker-nats package will work currectly you as a developer needs to make sure you'r service is booting up with micro-service support in the bootstrap function in the main.ts (This is called an hybrid app).

The two most important function to call are the app.connectMicroservice with a NATS transport and the app.startAllMicroservices function.

Another important thing is to make sure that the NatsModule is called from the app.module.ts

Scripts

build

Running npm run build will bundle your plugin with Webpack for production.

dev

Running npm run dev will watch your plugin's source code and automatically bundle it with every change.

FAQs

Package last updated on 28 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc