Skip to content

eternagame/eterna-chat-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temporary wrapper for Eterna's legacy IRC chat client to support easy installation and multiple channels

Install the chat library

npm install --save eternagame/eterna-chat-wrapper

Example usage

import { Chat } from "eterna-chat-wrapper";

const chat = new Chat({
    container: document.getElementById('chat-container'),
    username: 'Anonymous',
    uid: '000000',
    onHidden: () => {
        console.log('Chat.onHidden()')
    }
});

// Hide the chat without destroying it
chat.hide();

// Show an existing chat again
chat.show();

See the example folder.

image

About

Temporary wrapper for Eterna's legacy IRC chat client to support easy installation and multiple channels

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published