node-keyboard-twitter v1.1.0
node-keyboard-twitter
Twitter sentiment tracking plugin for node-keyboard.

Installation
As Global
If you installed node-keyboard globally, then install this plugin via npm i -g node-keyboard-twitter
Then start node keyboard via node-keyboard, and import this plugin via const twitter = requireg('node-keyboard-twitter')
As Local
If instead you cloned node-keyboard, then install locally in that folder via npm i node-keyboard-twitter
Then start node keyboard via node keyboard and import this plugin via const twitter = require('node-keyboard-twitter')
Usage
Ensure your environment variables for Twitter API usage are set. See https://github.com/justinjmoses/twitter-sentiment#installation
Try out the twitter sentiment tracker by adding the
trackfield (see Twitter API for input options) and theminFollowersthat the account needs to have to be used.
twitter.search({ track: 'bieber', minFollowers: 100 }).do(twitter.log.sentiment).map(twitter.map.toMusic).subscribe(play)For a longer recording, checkout https://vid.me/MYR5
Known issues
Status Code: 420 - means you've been rate limited by Twitter. Enhance your calm.
In action
I spoke on node-keyboard at EmpireNode in November 2016.
