# @types/ng-stomp

> TypeScript definitions for ng-stomp

Latest version **0.2.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/ng-stomp
pnpm add @types/ng-stomp
yarn add @types/ng-stomp
bun add @types/ng-stomp
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/ng-stomp
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ng-stomp
- npm.io page: https://npm.io/package/@types/ng-stomp

## Dependencies (1)

- [@types/angular](https://npm.io/package/@types/angular.md) *

## Recent versions

- 0.2.5 (latest) — 2023-11-07
- 0.2.2 (ts3.0) — 2020-05-15
- 0.2.1 (ts2.3) — 2017-06-23
- 0.2.0 (ts2.0) — 2017-03-10
- 0.2.4 — 2023-10-18
- 0.2.3 — 2023-09-23
- 0.0.29 — 2016-09-19
- 0.0.28 — 2016-07-14
- 0.0.27-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-07-01
- 0.0.21-alpha — 2016-05-25
- 0.0.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/ng-stomp/versions

## README

# Installation
> `npm install --save @types/ng-stomp`

# Summary
This package contains type definitions for ng-stomp (https://github.com/beevelop/ng-stomp).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ng-stomp.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ng-stomp/index.d.ts)
````ts
/// <reference types="angular" />

interface ngStomp {
    sock: any;
    stomp: any;
    debug: any;
    off: any;

    setDebug(callback: Function): void;

    connect(endpoint: string, headers?: ngStomp.Headers): angular.IHttpPromise<any>;

    disconnect(callback: () => void): angular.IHttpPromise<any>;

    subscribe(
        destination: string,
        callback: (payload: string, headers: ngStomp.Headers, res: Function) => void,
        headers?: ngStomp.Headers,
        scope?: any,
    ): any;

    unsubscribe(): any;

    send(destination: string, body: any, headers: ngStomp.Headers): any;
}

declare namespace ngStomp {
    interface Headers {
        [key: string]: any;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/angular](https://npmjs.com/package/@types/angular)

# Credits
These definitions were written by [Lukasz Potapczuk](https://github.com/lpotapczuk).

---
_Source: https://npm.io/package/@types/ng-stomp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
