Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    mixerclientpublic

    Mixer Client

    CircleCI

    Mixer Client is a friendly way to interact with the Mixer API.

    Installation

    $ npm install mixerclient -S

    Usage

    let Mixer = require('mixerclient')
    let mixer = new Mixer('MIXER_TOKEN_HERE')
     
    mixer.on('ready', async () => {
        let channel = await mixer.join()
        channel.on('message', msg => {
            if(msg.content == 'ping') {
                msg.reply('pong!')
            }
        })
    })

    Further documentation can be found in the docs directory.

    License

    MIT

    install

    npm i mixerclient

    Downloadsweekly downloads

    2

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar