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.
npm i --save clipboard-monitor
const clipMonit = ;//initialize & optionally set the interval with which to monitor the clipboardvar monitor = ;/*NOTE: interval defaults to 500ms so you can simply initialize using:'monitor = clipMonit()';*///now monitor your events...//'copy. event is fired every time data is copied to the clipboardmonitor;//Stop the monitoring the clipboardmonitor;
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?