Socket
Socket
Sign inDemoInstall

clipboard-plus

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    clipboard-plus

Copy texts to clipboard via JavaScript (ES6)


Version published
Weekly downloads
59
decreased by-33.71%
Maintainers
1
Install size
7.89 kB
Created
Weekly downloads
 

Readme

Source

clipboard-plus

Copy texts to clipboard via JavaScript (ES6)

Installation

  $ npm install clipboard-plus

Usage

Add the paths to configuration:

  const copy = require('clipboard-copy');
  let node = document.querySelector('#content');
  copy(node);

or

  const copy = require('clipboard-copy');
  copy('this is the copied content');

License

clipboard-plus is available under the terms of the MIT license.

Keywords

FAQs

Last updated on 24 Mar 2017

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