UNPKG

twitch-toolkit

Version:

A set of tools to integrate with Twitch API, Twitch Chat and Twitch WebHooks.

15 lines (13 loc) 555 B
// Provide support for < Chrome 41 mainly due to CLR Browser.. String.prototype.includes || (String.prototype.includes = function() { return -1 !== String.prototype.indexOf.apply(this, arguments) }), String.prototype.startsWith || (String.prototype.startsWith = function(a, b) { return b = b || 0, this.indexOf(a, b) === b }), Object.setPrototypeOf || (Object.setPrototypeOf = function(obj, proto) { obj.__proto__ = proto; return obj; }); module.exports={ client:require("./lib/client"), Client:require("./lib/client") };