Socket
Socket
Sign inDemoInstall

clipboard-event

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    clipboard-event

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


Version published
Weekly downloads
67
decreased by-1.47%
Maintainers
1
Install size
104 kB
Created
Weekly downloads
 

Readme

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

Last updated on 01 Aug 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc