RxClipboard
Clipboard reactive to changes for Node.
Detects when the clipboard changes, regardless of the type of content. It does this by wrapping pbcopy / pbpaste (for OSX), xclip (for Linux and OpenBSD), and clip (for Windows).
Require Node v7 o later
Install
npm
npm i rxclipboard -S
yarn
yarn add rxclipboard
Example
const rxclipboard = const log = consolelog rxclipboard
Import using babel
API
rxclipboard// Examplerxclipboard
Option | Description | Default |
---|---|---|
watch | Modify the change verification time (ms) | 200 |
License MIT Julian David - 2017