Skip to content

chatjs/chat.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat.js npm version

Simple chat plugin for your web-apps.


Installation

bower install chat.js

or

npm install chat.js

or download from Github.

or simply use the cdn.

Note: chat.js supports AMD module pattern.

Usage

Initialise the library after the HTML document(optionally the content) has been loaded

window.onload = function () {
		var chat = chatMessenger.init()
}

Display incoming messages with

chat.recieve('Hello there!');

More documentation coming soon.

Browser Support

chat.js works on all modern browsers.

  • Firefox 41.0.2+
  • Chrome 46.0.2+
  • Safari 5.1.7+
  • Internet Explorer 11+

Contributing

Interested in contributing features and fixes?

Read more on contributing.

License

Copyright (c) 2015 Nalin Chhibber Licensed under the MIT license.

About

Simple chat plugin for your web-apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.5%
  • CSS 3.3%
  • HTML 3.2%