chathelper
v1.1.7
Published
High-level chat client API that makes sending messages between computers(using http) easy.
Downloads
6
Maintainers
Readme
ChatHelper
High-level chat client JavaScript and TypeScript API that makes sending messages between computers(using http) easy.
Installation
Use the package manager npm to install chathelper.
npm install chathelper --save
QuickStart
Server
import { Server } from 'chatHelper'
const server = new Server("192.168.xx.xxx:8000", 2)
Client
import { Client } from 'chatHelper'
const client = new Client("http://192.168.xx.xxx:8000/", "client1", "12345")
Documentation
You can find the documentation for this package here
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.