clipboard-cli
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -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
2927
35
+ Addedarrify@1.0.1(transitive)
+ Addedcamelcase@4.1.0(transitive)
+ Addedcamelcase-keys@4.2.0(transitive)
+ Addedclipboardy@2.3.0(transitive)
+ Addedcross-spawn@6.0.5(transitive)
+ Addeddecamelize-keys@1.1.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexeca@1.0.0(transitive)
+ Addedfind-up@2.1.0(transitive)
+ Addedget-stdin@7.0.0(transitive)
+ Addedget-stream@4.1.0(transitive)
+ Addedindent-string@3.2.0(transitive)
+ Addedis-docker@2.2.1(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedjson-parse-better-errors@1.0.2(transitive)
+ Addedload-json-file@4.0.0(transitive)
+ Addedlocate-path@2.0.0(transitive)
+ Addedmap-obj@2.0.0(transitive)
+ Addedmeow@5.0.0(transitive)
+ Addedminimist-options@3.0.2(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedp-limit@1.3.0(transitive)
+ Addedp-locate@2.0.0(transitive)
+ Addedp-try@1.0.0(transitive)
+ Addedparse-json@4.0.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedpath-type@3.0.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedpump@3.0.0(transitive)
+ Addedquick-lru@1.1.0(transitive)
+ Addedread-pkg@3.0.0(transitive)
+ Addedread-pkg-up@3.0.0(transitive)
+ Addedredent@2.0.0(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedstrip-indent@2.0.0(transitive)
+ Addedtrim-newlines@2.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedyargs-parser@10.1.0(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcamelcase-keys@2.1.0(transitive)
- Removedclipboardy@1.2.3(transitive)
- Removedcross-spawn@5.1.0(transitive)
- Removedexeca@0.8.0(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedget-stdin@4.0.15.0.1(transitive)
- Removedget-stream@3.0.0(transitive)
- Removedindent-string@2.1.0(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmeow@3.7.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedpify@2.3.0(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedredent@1.0.0(transitive)
- Removedrepeating@2.0.1(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedstrip-indent@1.0.1(transitive)
- Removedtrim-newlines@1.0.0(transitive)
- Removedyallist@2.1.2(transitive)
Updatedclipboardy@^2.0.0
Updatedget-stdin@^7.0.0
Updatedmeow@^5.0.0