1.4.1 • Published 11 years ago

talker-client v1.4.1

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

What is this?

A high-ish level interface for Talker

How do I use it?

var Client = require('talker-client')
  , client = new Client({ token: 'your token here' })
  , room = client.join('your room name here')

room.on('users', function(message) {
  console.log('users currently connected', message.users)
  message.users.forEach(function(user) {
    if (user.name  === 'paul.sweeney') { room.message('oh hai, Paul!') }
  })

  setTimeout(function() { room.leave() }, 3000)
})
1.4.1

11 years ago

1.4.0

11 years ago

1.3.0

11 years ago

1.2.0

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.1.0

11 years ago

0.0.0

11 years ago