node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

twitchbots-node

twitchbots-node

Build Status codecov Dependency Status

Ready to use node.js module for the twitchbots.info API.

Instalation

To add this module to your node project just run npm install --save twitchbots-node.

Usage

var twitchbots = require("twitchbots-node");
 
twitchbots.getBot("moobot").then(function(bot) {
    if(bot.isBot)
        console.log(bot.username, "is a bot");
    else
        console.log(bot.username, "is not a bot");
});

See twitchbots-base for a documentation of all methods available on the twitchbots object.

License

This module is licensed under the MIT license.