Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-clipboard-ex

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-clipboard-ex - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

5

index.d.ts

@@ -63,1 +63,6 @@ /**

export function putImage(imagePath: string): Promise<boolean>;
/**
* @returns {boolean} If clipboard has an image in it.
*/
export function hasImage(): boolean;

2

index.js

@@ -12,2 +12,3 @@ const {promisify} = require('util');

putImageAsync,
hasImage,
} = require('bindings')();

@@ -25,2 +26,3 @@

putImage: promisify(putImageAsync),
hasImage,
};

2

package.json
{
"name": "electron-clipboard-ex",
"version": "1.2.1",
"version": "1.3.0",
"description": "Extended electron.js clipboard module.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -58,3 +58,9 @@ # electron-clipboard-ex

Check if clipboard has an image in it:
```javascript
const clipboardEx = require('electron-clipboard-ex');
clipboardEx.hasImage();
```
## Operating system support
This library supports Windows and macOS. Linux is currently not supported, feel free to open a pull request if you need it.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc