Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

chat-service-ws-messaging

0.6.0 • Public • Published

chat-service-ws-messaging

NPM Version JavaScript Style Guide

chat-service ws-messaging transport plugin

Table of Contents

Installation

npm i chat-service
npm i chat-service-ws-messaging

Usage

On a server:

const ChatService = require('chat-service')
const transport = require('chat-service-ws-messaging')
 
const port = 8000
 
const service = new ChatService({ port, transport }, { onConnect })

On a client just ws-messaging client is required.

Contribute

If you encounter a bug in this package, please submit a bug report to github repo issues.

PRs are also accepted.

License

MIT

Keywords

none

Install

npm i chat-service-ws-messaging

DownloadsWeekly Downloads

2

Version

0.6.0

License

MIT

Unpacked Size

9.83 kB

Total Files

7

Last publish

Collaborators

  • avatar