Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/clipboard-image
Read/write clipboard image.
https://github.com/afeiship/clipboard-image
buffer clipboard image img path read
Last synced: 20 days ago
JSON representation
Read/write clipboard image.
- Host: GitHub
- URL: https://github.com/afeiship/clipboard-image
- Owner: afeiship
- License: mit
- Created: 2023-08-13T09:34:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-13T10:05:39.000Z (over 1 year ago)
- Last Synced: 2024-10-28T04:59:39.541Z (2 months ago)
- Topics: buffer, clipboard, image, img, path, read
- Language: TypeScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# clipboard-image
> Read/write clipboard image.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm install @jswork/clipboard-image
```## usage
```js
import ClipboardImage from '@jswork/clipboard-image';// only testing on macos
const buf = ClipboardImage.read();// OR null
```## license
Code released under [the MIT license](https://github.com/afeiship/clipboard-image/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/clipboard-image
[version-url]: https://npmjs.org/package/@jswork/clipboard-image[license-image]: https://img.shields.io/npm/l/@jswork/clipboard-image
[license-url]: https://github.com/afeiship/clipboard-image/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/clipboard-image
[size-url]: https://github.com/afeiship/clipboard-image/blob/master/dist/clipboard-image.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/clipboard-image
[download-url]: https://www.npmjs.com/package/@jswork/clipboard-image