ostrio:user-status

v0.1.1Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor user status

Reactively setup user's [on|off]line status into Meteor.user().profile.online, returns Boolean value.

Install:

meteor add ostrio:user-status

Usage

Simply add and use with accounts-base and accounts-password packages, ostrio:user-status will work just behind it on the background, - doesn't requires any setting up

Updated user's object

1User = 
2  username: String
3  emails: [Object]
4  createdAt: Date
5  updatedAt: Date
6  profile:
7    location:
8      ip: String # --> Current or last used user's IP
9    online: Boolean # --> Is user online
10  connection: String # --> Current or last used DDP Connection ID