# elgato-stream-deck-utils

> some useful classes to make work with [elgato-stream-deck](https://www.npmjs.com/package/elgato-stream-deck) a little bit more convinient.

Latest version **1.2.1** (published 2020-11-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install elgato-stream-deck-utils
pnpm add elgato-stream-deck-utils
yarn add elgato-stream-deck-utils
bun add elgato-stream-deck-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2020-11-15 |
| First published | 2020-05-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 35.2 KB |
| Known vulnerabilities | 0 (+5 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | oliverlorenz |

## Links

- npm: https://www.npmjs.com/package/elgato-stream-deck-utils
- npm.io page: https://npm.io/package/elgato-stream-deck-utils

## Dependencies (8)

- [usb](https://npm.io/package/usb.md) ^1.6.3
- [debug](https://npm.io/package/debug.md) ^4.2.0
- [sharp](https://npm.io/package/sharp.md) ^0.26.2
- [moment](https://npm.io/package/moment.md) ^2.29.1
- [request](https://npm.io/package/request.md) ^2.88.2
- [elgato-stream-deck](https://npm.io/package/elgato-stream-deck.md) ^3.3.2
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.19
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.9

## Recent versions

- 1.2.1 (latest) — 2020-11-15
- 1.2.0 — 2020-11-15
- 1.1.1 — 2020-11-11
- 1.1.0 — 2020-11-11
- 1.0.1 — 2020-05-14
- 1.0.0 — 2020-05-14

## README

# elgato-stream-deck-utils

some useful classes to make work with [elgato-stream-deck](https://www.npmjs.com/package/elgato-stream-deck) a little bit more convinient.

## example

```
import 'source-map-support/register';
import { Device } from './Device';
import { ProfileManager } from './Profile/manager';
import { ProfileNextButton } from './Button/Functional/Profile/Next';

const device = new Device();

(async () => {
  device.waitForConnect(async streamDeck => {
    streamDeck.clearAllKeys();
    const profileManager = new ProfileManager(streamDeck);
    const profile0 = profileManager.getProfile(0);
    const profile1 = profileManager.getProfile(1);
    profile0.addButton(7, new ProfileNextButton(streamDeck.ICON_SIZE));
    profile1.addButton(15, new ProfileNextButton(streamDeck.ICON_SIZE));

    await profile0.activate();
    await profileManager.start();
  });
})();
```

---
_Source: https://npm.io/package/elgato-stream-deck-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
