📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
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
Version published
Weekly downloads
289K
-19.45%
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

browser

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