If you have any questions, click on the badge to join the conversation.
$ npm install --save node-gitter
var Gitter = ;var gitter = token;gitter;
It's mandatory to provide a valid Gitter OAuth token in order to use the client. You can obtain one from https://developer.gitter.im/apps.
Promises or Callbacks
The client implements both. The following code is equivalent:
Using node-style callbacks:
Current user rooms, repos, and orgs
Find a user
Join a room
Post a message to a room
Listen for chatMessages, Events or Users in a room
Room users and messages
Leave a room