Client library for integrating a Forsta messenger into your web application.
This library can be bundled into your web application to integrate a Forsta Messenger client into your web application.
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.
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 install forsta-messenger-client
Then include the node_modules/forsta-messenger-client/dist/forsta-messenger-client.js
file
into your javascript bundle.
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.
See our generated reference docs for full usage details: https://forstalabs.github.io/forsta-messenger-client/docs/index.html
Licensed under the MIT License.
- Copyright 2019 Forsta Inc.