Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 356 Bytes

README.MD

File metadata and controls

24 lines (16 loc) · 356 Bytes

clipboard-file

A nodejs addons, reading file path from clipboard

Installation

Using npm:

npm i clipboard-file --save

In Node.js

const cf = requrie('clipboard-file');
cf.getClipboardFiles();
// if empty, return []
// else return [filepath1, filepath2];

Support

Only support Windows & High Version MacOS(macOS 10_13)