Skip to content

Nalinc/chat.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat.js npm version

Simple chat plugin for your web-apps.


Deprecated: Latest one moved to github.com/chatjs/chat.js

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.receive('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