hyperdeck-server-connection
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Hyperdeck server connection

CircleCI

Technology highlights

  • Typescript
  • Yarn
  • Jest
  • standard-version
  • codecov

Installation

For library developers installation steps are as following:

git clone https://github.com/baltedewit/hyperdeck-server-connection
yarn build

If you want to make a contribution, feel free to open a PR.

Usage

const { HyperdeckServer } = require('../dist/server')
const myHyperdeck = new Hyperdeck()
 
const s = new HyperdeckServer()
s.onPlay = cmd => {
    console.log('playing', cmd)
    status.status = 'play'
    s.notifyTransport({
        ...status,
        speed: '100',
        'slot id': '1',
        'clip id': '1',
        'single clip': 'true',
        'video format': '1080i50',
        loop: false
    })
    return Promise.resolve()
}

Events

Test

This module will run tests by jest. (TBD)

$ yarn unit

Acknowledgements

Package Sidebar

Install

npm i hyperdeck-server-connection

Weekly Downloads

7

Version

0.0.3

License

MIT

Unpacked Size

67.5 kB

Total Files

21

Last publish

Collaborators

  • balte