clipboard-native
v1.0.2
Published
Native clipboard access module
Downloads
213
Readme
Usage
This module gives us a tool to look at the native system clipboard.
Raw HTML
clipboardNative.getRawClipboardHTML();
Header
clipboardNative.parseClipboardHeader(rawHTML);
For example:
Header Info: {
sourceExtension: '.docx',
sourceFileName: 'Untitled-1.docx',
version: '1.0',
sourceURL: 'file:///C:/Testing/Runorders/Untitled-1.docx',
startHTML: 161,
endHTML: 38801
}
Example
You may use "printClipboard.js" for example usage of the mdoule.