/clipboard

get file path from clipboard by nodejs

Primary LanguageC++MIT LicenseMIT

clipboard

get data(file path,text) from clipboard by nodejs. support win32 and osx

build for nwjs

 nw-gyp rebuild --target=0.14.7 --arch=ia32

build for nodejs

  node-gyp rebuild

example

const clipboard = require('clipboard');
let fileNames = clipboard.getFileNames();
let text = clipboard.getText();