UNPKG

twitch-toolkit

Version:

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

24 lines (22 loc) 445 B
// // Order of Levels used in these tests. // Remark (indexzero): is abstracting this into a helper // useful in `abstract-winston-transport`? // const testOrder = exports.testOrder = [ 'error', 'warn', 'dog', 'cat', 'info', 'verbose', 'silly', 'parrot' ]; // // Actual `testLevels` in the format expected by `winston`. // exports.testLevels = testOrder.reduce(function (acc, level, i) { acc[level] = i; return acc; }, {});