Have ideas to improve npm?Join in the discussion! »

    tennu-queue-handler

    1.0.0 • Public • Published

    tennu-queue-handler

    A very basic in-memory queue of tennu IRC messages. Can probably be used for other stuff too.

    Usage

    • See test/test.js for more.
    • Full JSDoc, see code for more.
    const queue = require('../queue-handler')(limit);
    
    queue.update(message, channel, nickname);
    queue.getRandomMessage(message, channel); // Optional ops
    queue.findCorrectable(message, channel); // Optional ops
    

    Install

    npm i tennu-queue-handler

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    10.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar