munar-helper-booth-lockskip

2.0.3 • Public • Published

munar-helper-booth-lockskip

Helper function for "lock-skipping" DJs in Munar plugins.

Intended for Adapters with a DJ Booth and a DJ History, like plug.dj or üWave.

Installation

$ npm install --save munar-helper-booth-lockskip

Usage

import lockskip from 'munar-helper-booth-lockskip'

// Skip DJ and move them to the second position in the wait list
await lockskip(adapter)

// Skip DJ and move them to a custom (zero-indexed) position in the wait list
await lockskip(adapter, { position: 5 })

License

ISC

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    0
    • latest

Version History

Package Sidebar

Install

npm i munar-helper-booth-lockskip

Weekly Downloads

0

Version

2.0.3

License

ISC

Unpacked Size

6.16 kB

Total Files

6

Last publish

Collaborators

  • goto-bus-stop