New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clipboard-copy

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipboard-copy

Lightweight copy to clipboard for the web

  • 4.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
338K
decreased by-3.12%
Maintainers
2
Weekly downloads
 
Created

What is clipboard-copy?

The clipboard-copy npm package provides a simple and efficient way to copy text to the clipboard in web applications. It is designed to be lightweight and easy to use, making it a popular choice for developers who need to implement clipboard functionality.

What are clipboard-copy's main functionalities?

Copy Text to Clipboard

This feature allows you to copy a given string to the clipboard. The code sample demonstrates how to use the clipboard-copy package to copy the text 'Hello, World!' to the clipboard.

const copy = require('clipboard-copy');
copy('Hello, World!');

Other packages similar to clipboard-copy

Keywords

FAQs

Package last updated on 18 Nov 2020

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