Socket
Socket
Sign inDemoInstall

clipboard-cli

Package Overview
Dependencies
76
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

6

cli.js

@@ -17,5 +17,5 @@ #!/usr/bin/env node

} else {
getStdin().then(stdin => {
clipboardy.writeSync(stdin);
});
(async () => {
clipboardy.writeSync(await getStdin());
})();
}
{
"name": "clipboard-cli",
"version": "1.1.0",
"description": "Access the system clipboard (copy/paste)",
"license": "MIT",
"repository": "sindresorhus/clipboard-cli",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": {
"clipboard": "cli.js"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js"
],
"keywords": [
"cli-app",
"cli",
"clipboard",
"copy",
"paste",
"copy-paste",
"pasteboard",
"read",
"write",
"pbcopy",
"clip",
"xclip",
"xsel"
],
"dependencies": {
"clipboardy": "^1.0.0",
"get-stdin": "^5.0.1",
"meow": "^3.7.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.6.1",
"xo": "*"
},
"xo": {
"esnext": true
}
"name": "clipboard-cli",
"version": "2.0.0",
"description": "Access the system clipboard (copy/paste)",
"license": "MIT",
"repository": "sindresorhus/clipboard-cli",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bin": {
"clipboard": "cli.js"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"cli.js"
],
"keywords": [
"cli-app",
"cli",
"clipboard",
"copy",
"paste",
"copy-paste",
"pasteboard",
"read",
"write",
"pbcopy",
"clip",
"xclip",
"xsel"
],
"dependencies": {
"clipboardy": "^2.0.0",
"get-stdin": "^7.0.0",
"meow": "^5.0.0"
},
"devDependencies": {
"ava": "^1.4.1",
"execa": "^1.0.0",
"xo": "^0.24.0"
}
}

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

Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with [Termux](https://termux.com).
## Install

@@ -34,6 +36,1 @@

- [clipboardy](https://github.com/sindresorhus/clipboardy) - API for this module
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc