open-index/open-npm huggingface dataset:
npm package: @kronos-integration/service-mqtt
Description: MQTT service
Latest version: 4.0.52

[![npm](https://img.shields.io/npm/v/@kronos-integration/service-mqtt.svg)](https://www.npmjs.com/package/@kronos-integration/service-mqtt)
[![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)
[![bundlejs](https://deno.bundlejs.com/?q=@kronos-integration/service-mqtt\&badge=detailed)](https://bundlejs.com/?q=@kronos-integration/service-mqtt)
[![downloads](http://img.shields.io/npm/dm/@kronos-integration/service-mqtt.svg?style=flat-square)](https://npmjs.org/package/@kronos-integration/service-mqtt)
[![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/service-mqtt.svg?style=flat-square)](https://github.com/Kronos-Integration/service-mqtt/issues)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FKronos-Integration%2Fservice-mqtt%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/Kronos-Integration/service-mqtt/goto)
[![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Known Vulnerabilities](https://snyk.io/test/github/Kronos-Integration/service-mqtt/badge.svg)](https://snyk.io/test/github/Kronos-Integration/service-mqtt)

# @kronos-integration/service-mqtt

mqtt client

# API

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

*   [ServiceMQTT](#servicemqtt)
    *   [extendetName](#extendetname)
    *   [endpointFactoryFromConfig](#endpointfactoryfromconfig)
        *   [Parameters](#parameters)
    *   [name](#name)

## ServiceMQTT

**Extends Service**

MQTT client.

### extendetName

Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name with url

### endpointFactoryFromConfig

On demand create TopicEndpoint.

#### Parameters

*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**&#x20;
*   `definition` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**&#x20;
*   `ic` &#x20;

Returns **Class** TopicEndpoint if path is present of name starts with '/'

### name

Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 'mqtt'

# install

With [npm](http://npmjs.org) do:

```shell
npm install @kronos-integration/service-mqtt
```

# license

BSD-2-Clause