clipboardy
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -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" | ||
} | ||
} |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
928500
15
192
4
70