Node.js interface to Intel's AIM Suite API
In the words of Intel - "real-time audience counting and analytics".
var naim = require('naim').connect();
// subscribe to stream of events
// *** NOT YET IMPLEMENTED ***
naim.listen(true);
naim.on('start', function(viewer) {
console.log('viewing started', viewer);
});
naim.on('stop', function(viewer) {
console.log('viewing stopped', viewer);
});
// get number of viewers naim.getViewerCount(function(err, count) { if (err) return err; console.log('there are',count,viewers); });
Developing cross-platform network code on nodejs is fast.
Depending on the size of the project, if it is small and simple enough the reference docs can be added to the README. For medium size to larger projects it is important to at least provide a link to where the API reference docs live. ...
Describe and show how to run the tests with code examples. ...
Let people know how they can dive into the project, include important links to things like issue trackers, irc, twitter accounts if applicable. ...
MIT