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

clipboardy

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipboardy - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

browser.js

4

index.d.ts

@@ -11,2 +11,4 @@ /**

Doesn't work in browsers.
@param text - The text to write to the clipboard.

@@ -33,3 +35,5 @@

Read (paste) from the clipboard synchronously.
Doesn't work in browsers.
*/
export function readSync(): string;
{
"name": "clipboardy",
"version": "2.2.0",
"version": "2.3.0",
"description": "Access the system clipboard (copy/paste)",

@@ -21,2 +21,3 @@ "license": "MIT",

"index.d.ts",
"browser.js",
"lib",

@@ -47,3 +48,8 @@ "fallbacks"

"xo": "^0.25.3"
},
"browser": "browser.js",
"exports": {
"browser": "./browser.js",
"default": "./index.js"
}
}

9

readme.md

@@ -5,5 +5,4 @@ # clipboardy [![Build Status](https://travis-ci.org/sindresorhus/clipboardy.svg?branch=master)](https://travis-ci.org/sindresorhus/clipboardy)

Cross-platform. Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with [Termux](https://termux.com/).
Cross-platform. Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with [Termux](https://termux.com/), [modern browsers](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#Browser_compatibility).
## Install

@@ -15,3 +14,2 @@

## Usage

@@ -28,3 +26,2 @@

## API

@@ -52,2 +49,4 @@

Doesn't work in browsers.
##### text

@@ -63,2 +62,3 @@

Doesn't work in browsers.

@@ -71,3 +71,2 @@ ## FAQ

## Related

@@ -74,0 +73,0 @@

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