Monitor your clipboard
This module helps you monitor your clipboard by firing ('copy') events whenever something is copied onto the clipboard.
It wraps around the awesome clipboardy module.
Install
npm i --save clipboard-monitor
Use
const clipMonit = require('clipboard-monitor');
var monitor = clipMonit(500);
monitor.on('copy', function (data) {
console.log(data);
});
monitor.end();
ToDo
I would love to incorporate the ability to monitor file copies & dump/capture the file name/buffer data. Does anyone know how to do this? Or a module that achieves something similar?