Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

ForstaLabs/forsta-messenger-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb8b02a · Nov 26, 2019
Nov 22, 2019
Nov 13, 2019
Nov 8, 2019
Oct 28, 2019
Aug 14, 2019
Aug 15, 2019
Aug 14, 2019
Aug 21, 2019
Aug 14, 2019
Sep 26, 2019
Aug 14, 2019
Oct 16, 2019
Oct 16, 2019

Repository files navigation

forsta-messenger-client

Client library for integrating a Forsta messenger into your web application.

NPM License Docs

About

This library can be bundled into your web application to integrate a Forsta Messenger client into your web application.

Install

The forsta-messenger-client should be included with your web page's javascript. It can be added as its own <script> tag or included with your existing javascript using bundling software of your choosing a la., Grunt, Webpack, etc. Depending on your desired installation and bundling method there are a few ways to get the forsta-messenger-client working.

From public CDN (standalone script tag) [easy]

Add the following script tag to your site. Note that this script will be the latest version of the forsta-messenger-client and you can not choose when version changes happen.

<script src="https://forstalabs.github.io/forsta-messenger-client/dist/forsta-messenger-client.min.js"></script>

NPM (for bundler based installs) [medium]:

npm install forsta-messenger-client

Then include the node_modules/forsta-messenger-client/dist/forsta-messenger-client.js file into your javascript bundle.

Building from source [hard]:

git clone https://github.com/ForstaLabs/forsta-messenger-client
cd forsta-messenger-client
npm install

To generate a build from the src/ files run:

npm run build

To generate docs:

npm run docs

Docs are located in the docs/forsta-messenger-client/<version> folder.

Usage:

See our generated reference docs for full usage details: https://forstalabs.github.io/forsta-messenger-client/docs/index.html

License

Licensed under the MIT License.

  • Copyright 2019 Forsta Inc.