Updated Spy package
#####A simple smart package for watching and counting clients.
Spy provides reactive information about clients visiting your meteor app. The following should be all you'll need to get started.
-
Navigate to your local app directory in shell.
-
Install Spy: (requires meteorite)
mrt add Spy
-
Count your clients:
Session.get('numberOfClients');
-
Spy on your clients!
Meteor.call('getClients', function(err, arr){ // 'arr' will be an array of client objects (with lots of neat data!) });