# vertx3-eventbus-client

> Vert.x 3 Event Bus Client as NPM

Latest version **3.9.4** (published 2020-10-15) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install vertx3-eventbus-client
pnpm add vertx3-eventbus-client
yarn add vertx3-eventbus-client
bun add vertx3-eventbus-client
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.9.4 |
| Published | 2020-10-15 |
| First published | 2015-07-07 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | separate (@types/vertx3-eventbus-client) |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 123 |
| Author | The Vert.x Team |
| Maintainers | pmlopes, cescoffier, tsegismont |
| Keywords | websockets, websocket, sockjs, vert.x |

## Links

- npm: https://www.npmjs.com/package/vertx3-eventbus-client
- Repository: https://github.com/vert-x3/vertx-stack
- Homepage: http://vertx.io
- Issues: https://github.com/vert-x3/vertx-stack/issues
- npm.io page: https://npm.io/package/vertx3-eventbus-client

## Dependencies (1)

- [sockjs-client](https://npm.io/package/sockjs-client.md) ^1.1.5

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 3.9.4 (latest) — 2020-10-15
- 3.9.3 — 2020-09-16
- 3.9.2 — 2020-07-20
- 3.9.1 — 2020-05-19
- 3.9.0 — 2020-03-30
- 3.8.5 — 2020-01-23
- 3.8.4 — 2019-11-26
- 3.8.3 — 2019-10-18
- 3.8.2 — 2019-10-04
- 3.8.1 — 2019-08-22
- 3.8.0 — 2019-07-17
- 3.7.1 — 2019-05-23
- 3.7.0 — 2019-04-01
- 3.6.3 — 2019-01-31
- 3.6.2 — 2018-12-17
- … 17 more at https://npm.io/package/vertx3-eventbus-client/versions

## README

# SockJS Event Bus bridge for Vert.x 3

The `vertx-eventbus.js` file is a SockJS-based event bus bridge to connect your JavaScript frontend application to Vert
.x 3.x. You can use it in a front-end application or in a node.js application.

If you already use a previous version of the bridge, please check the changelog below. 

## Retrieving the client with Gulp or NPM

The file is delivered as an NPM that you can download it using Bower or Gulp.

The dependency is:

```
"vertx3-eventbus-client": "3.9.4"
```

More information on:

* The [vert.x web site](http://vertx.io) 
* The [Event Bus Bridge documentation](http://vertx.io/docs/vertx-web/java/#_sockjs_event_bus_bridge) 

## Changelog

**Changes from the 3.0.x to 3.1**

* IMPORTANT: The API has been changed to be compatible with node.js and to be closer to the vert.x eventbus API
.Creating  the bridge is made using `var eb = new EventBus("http://localhost:8080/eventbus");` instead of `new vertx
.EventBus...`. In addition, registering a handler use the node convention: 
`eb.registerHandler("metrics", function(err, res) {...}` instead of `ev.registerHandler("metrics", res)`.
* The file name has been updated to `eventbus-client.js`

---
_Source: https://npm.io/package/vertx3-eventbus-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
