twitch-irc-oauth
OAuth module for twitch-irc.
Last updated 5 years ago by schmoopiie .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install twitch-irc-oauth 
SYNC missed versions from official npm registry.

twitch-irc-oauth

Npm Version Issues

Installation

$ npm install --save twitch-irc-oauth

Configuration

var irc = require('twitch-irc');

var clientOptions = {
    options: {
        exitOnError: false,
        database: './data',
    },
    channels: ['schmoopiie']
};

var client = new irc.client(clientOptions);

// Using the database module is optional.
var db     = require('twitch-irc-db')(clientOptions);

// Passing the client instance (required) and the database module..
var oauth  = require('twitch-irc-oauth')(client, db);

client.addListener('oauth', function (username, token, scopes) {
    // Do your stuff.
});

Contributing Guidelines

Please review the guidelines for contributing to this repository.

Support

Feel free to create an issue. We are active on the development of twitch-irc and it's modules and we respond to each and every issues. When submitting an issue, please include your Node/NPM versions, your operating system and the log file or the error message. Please, do your best to explain how to reproduce the issue.

License

The MIT License (MIT)

Copyright (c) 2015 Schmoopiie

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (7)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2017 © taobao.org |