Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

ebsidian

1.0.1 • Public • Published

Twitch EBS

An easy-to-use library for your Twitch Extension EBS.

How to Use

Ebsidian.retrieveSecret

Ebsidian.extension.id = "1234567890"
Ebsidian.extension.secret = // do not commit your secret to your codebase!
Ebsidian.extension.version = "0.0.1"
let channelId = "000000000"
await Ebsidian.sendChatMessage(channelId, "Hello World!")
Ebsidian.extension.id = "1234567890"
const channels = await Ebsidian.retrieveLiveChannels()
Ebsidian.extension.id = "1234567890"
Ebsidian.extension.secret = // do not commit your secret to your codebase!
let channelId = "000000000"
await Ebsidian.broadcastPubsubMessage(channelId, {"text": "Hello World!!"})

Install

npm i ebsidian

DownloadsWeekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

5.88 kB

Total Files

5

Last publish

Collaborators

  • avatar