Notify of clipboard change (OSX only)
npm install clipboard-watcher
'use strict';
var PbWatcher = require('clipboard-watcher');
var watchIntervalMs = 250;
PbWatcher(function(data){
console.log('Clipboard changed to : "%s"', data);
}, watchIntervalMs);
Clipboard-watcher was deeply inspired by SheetJS/pb.