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

copy-text-to-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-text-to-clipboard

Copy text to the clipboard in modern browsers (0.2 kB)

  • 3.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is copy-text-to-clipboard?

The 'copy-text-to-clipboard' npm package is a simple utility that allows you to copy text to the clipboard. It is lightweight and easy to use, making it a convenient choice for web applications that need to implement copy-to-clipboard functionality.

What are copy-text-to-clipboard's main functionalities?

Copy Text to Clipboard

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

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

Other packages similar to copy-text-to-clipboard

Keywords

FAQs

Package last updated on 05 Jul 2023

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