Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stream-deck-api-mazeppa

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-deck-api-mazeppa - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

12

index.js

@@ -10,7 +10,7 @@ 'use strict'

streamDeck.drawText('TCN', 'black', 'white',1);
streamDeck.drawText('AP', 'black','white',2);
streamDeck.drawText('HSEL', 'black','white',3);
streamDeck.drawText(':HSEL', 'black','white',4);
streamDeck.drawText('AP', 'black','green',2);
streamDeck.drawText('HSEL', 'black','yellow',3);
streamDeck.drawText(':HSEL', 'black','pink',4);
streamDeck.drawText('12', 'black','white',5);
streamDeck.drawText('12', 'black','orange',5);

@@ -28,4 +28,4 @@ streamDeck.drawText('TCN', 'white', 'black',6);

streamDeck.drawText('LP', 'green','black',12);
streamDeck.drawText('HSEL', 'green','black',13);
streamDeck.drawText(':HSEL', 'green','black',14);
streamDeck.drawText('HSEL', 'red','black',13);
streamDeck.drawText(':HSEL', 'blue','black',14);

@@ -32,0 +32,0 @@ streamDeck.drawText('A', 'green','black',15);

{
"name": "stream-deck-api-mazeppa",
"version": "0.1.0",
"version": "0.1.1",
"description": "API to interact with the Elgato Stream Deck controller",

@@ -5,0 +5,0 @@ "keywords": [

# Stream Deck API
Stream Deck API is a library that allows you to interact with an Elgato Stream Deck controller.
### NOTE: API is not stable and will not follow semver until version >=1.0.0. If you need a specific version, hard-lock it to an exact version for now (in `package.json`):
Forked from: https://github.com/danieltian/stream-deck-api.git Many thanks!
```json
"dependencies": {
"stream-deck-api": "0.0.4"
}
```
## Examples

@@ -57,3 +50,3 @@

### Draw Image or Color to Button
### Draw Image, Text or Color to a Button

@@ -85,9 +78,18 @@ ```js

streamDeck.drawColor(0xFFFFFF, buttonNumber); // white
// ----------------------------------------------
// Draw text with color, background color
// ----------------------------------------------
streamDeck.drawText('HI', 'green', 'black', buttonNumber);
streamDeck.drawText('12:34', 'white', 'black', buttonNumber);
streamDeck.drawText('SAFE', 'black', 'white', buttonNumber);
// ----------------------------------------------
// Draw text over image //EXPERIMENTAL
// ----------------------------------------------
streamDeck.drawTextOverImage('HI', 'green', './images/blank.png', buttonNumber);
```
## API
##### TODO: Write API docs
## Caching
##### TODO: Clean this up
Quick and dirty explanation: Because it takes a non-trivial amount of time to process an image (reading it from disk and resizing it) and to create the data that gets sent to the Stream Deck, caching has been implemented in order to speed up this process.

@@ -94,0 +96,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc