1.3.0 • Published 7 months ago

@zubair-nazir/inapp-chat v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Chat Module Node.js

Table of Contents

Overview

ChatModule provides the easy integration of chatting feature into your app you need to do write less code for the feature.

Installation

The ChatModule Node.js is available on npm as @quokka-labs/chatmodule:

$ npm install --save @quokka-labs/chatmodule

To use the module in your application, require it from any JavaScript file:

const {ChatModule} = require("@quokka-labs/chatmodule")

ChatModule.initiateConnection(server).then((result)=>{
    console.log('Socket connection up')
}).catch((err)=>console.log('Socket connection exception',err))

If you are using ES2015, you can import the module instead:

import {ChatModule} from "@zubair-nazir/inapp-chat"

When initializing app, make sure to keep you service config file of firebase in root folder of project

Supported Environments

We support Node.js 14 and higher.

Please also note that this module should only be used in server-side/back-end environments controlled by the app developer. This includes most server and serverless platforms (both on-premise and in the cloud). It is not recommended to use this module in client-side environments.

Documentation

1.3.0

7 months ago

1.2.9

7 months ago

1.2.8

7 months ago

1.2.7

7 months ago

1.2.6

7 months ago

1.2.5

7 months ago

1.2.4

7 months ago

1.2.3

7 months ago

1.2.2

7 months ago

1.2.1

8 months ago

1.1.9

9 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

9 months ago

1.1.4

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago