@codefresh-io/eventbus

const eventbus = require('cf-eventbus');

Usage no npm install needed!

<script type="module">
  import codefreshIoEventbus from 'https://cdn.skypack.dev/@codefresh-io/eventbus';
</script>

README

cf eventbus

const eventbus = require('cf-eventbus');

eventbus.init({ bus: { url: 'amqp://codefresh.dev', // rabbitmq server reconnectInterval: 5 }, store: { host: 'codefresh.dev', // postgres host database: 'postgres', // postgres database user: 'postgres', // postgres user password: 'postgres' // postgres password }, microServiceName: 'service-name' // client name });