epoch-livechat-component

0.2.9 • Public • Published

view on npm npm module downloads per month build status

epoch livechat component

This is a frontend UI interface of live chat using Socket.io. This component needs the support of the Socket.io server.

You don't need to install any browser plugins or manually add code snippets to your pages for the reload functionality to work, see "How it works" section below for more information.

npm run start

Installation

You need node.js and npm install globally. When you run npm run start, the demo application will be launched.

Npm way

npm run install

npm run start

Usage from example demo react code

          <Example
            socketDomain="http://localhost:5000/"
            transports={['polling', 'websocket']}
            siteId={siteId}
            roomId={roomId}
            token="sdfdsfdsf"
            userId="sdfjsdjfi"
            name={name}
            live={true}
            // theme="light"
          />

Readme

Keywords

Package Sidebar

Install

npm i epoch-livechat-component

Weekly Downloads

1

Version

0.2.9

License

MIT

Unpacked Size

2.88 MB

Total Files

23

Last publish

Collaborators

  • wshen