Skip to content

Latest commit

 

History

97 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Security policy

Stars

0 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages