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

@scalar/use-clipboard

Package Overview
Dependencies
Maintainers
8
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/use-clipboard

tiny wrapper around the clipboard API

  • 0.5.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
504
increased by13.26%
Maintainers
8
Weekly downloads
 
Created
Source

Scalar useClipboard()

Version Downloads License Discord

Installation

npm install @scalar/use-clipboard

Usage

import { useClipboard } from '@scalar/use-clipboard'

const { copyToClipboard } = useClipboard()

copyToClipboard(
  'The average distance between the Earth and the Moon is 384 400 km (238 855 miles).',
)

Keywords

FAQs

Package last updated on 18 Jan 2024

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