https://github.com/hxfdarling/clipboard
get file path from clipboard by nodejs
https://github.com/hxfdarling/clipboard
clipboard cpp nodejs windows
Last synced: 2 months ago
JSON representation
get file path from clipboard by nodejs
- Host: GitHub
- URL: https://github.com/hxfdarling/clipboard
- Owner: hxfdarling
- License: mit
- Created: 2018-01-04T07:25:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T07:49:11.000Z (over 8 years ago)
- Last Synced: 2025-02-19T13:46:44.568Z (over 1 year ago)
- Topics: clipboard, cpp, nodejs, windows
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clipboard
get data(file path,text) from clipboard by nodejs. support win32 and osx
## build for nwjs
```shell
nw-gyp rebuild --target=0.14.7 --arch=ia32
```
## build for nodejs
```shell
node-gyp rebuild
```
## example
```js
const clipboard = require('clipboard');
let fileNames = clipboard.getFileNames();
let text = clipboard.getText();
```