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

clipboard-event

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipboard-event

Clipboard change event for Node.js/Electron.js/NW.js

  • 1.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
270
decreased by-42.18%
Maintainers
1
Weekly downloads
 
Created
Source

node-clipboard-event

Clipboard change event for Node.js/Electron.js/NW.js

Note:

  • It's not being polled
  • This implementation is based on child_process. A native node module using N-API is being developed.

Usage

import clipboardListener from 'clipboard-event'

// In case of CommonJS
// const clipboardListener = require('clipboard-event');

// To start listening
clipboardListener.startListening();

clipboardListener.on('change', () => {
    console.log('Clipboard changed');
});

// To stop listening
clipboardListener.stopListening();

Motivation

Credits

Keywords

FAQs

Package last updated on 01 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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