126 lines
4.3 KiB
JSON
126 lines
4.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "clipboardy@^1.2.2",
|
|
"scope": null,
|
|
"escapedName": "clipboardy",
|
|
"name": "clipboardy",
|
|
"rawSpec": "^1.2.2",
|
|
"spec": ">=1.2.2 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/envinfo"
|
|
]
|
|
],
|
|
"_from": "clipboardy@>=1.2.2 <2.0.0",
|
|
"_id": "clipboardy@1.2.2",
|
|
"_inCache": true,
|
|
"_location": "/clipboardy",
|
|
"_nodeVersion": "9.2.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/clipboardy-1.2.2.tgz_1510725256485_0.20012890989892185"
|
|
},
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "5.5.1",
|
|
"_phantomChildren": {
|
|
"cross-spawn": "5.1.0",
|
|
"get-stream": "3.0.0",
|
|
"is-stream": "1.1.0",
|
|
"npm-run-path": "2.0.2",
|
|
"p-finally": "1.0.0",
|
|
"signal-exit": "3.0.2",
|
|
"strip-eof": "1.0.0"
|
|
},
|
|
"_requested": {
|
|
"raw": "clipboardy@^1.2.2",
|
|
"scope": null,
|
|
"escapedName": "clipboardy",
|
|
"name": "clipboardy",
|
|
"rawSpec": "^1.2.2",
|
|
"spec": ">=1.2.2 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/envinfo"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-1.2.2.tgz",
|
|
"_shasum": "2ce320b9ed9be1514f79878b53ff9765420903e2",
|
|
"_shrinkwrap": null,
|
|
"_spec": "clipboardy@^1.2.2",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/envinfo",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/clipboardy/issues"
|
|
},
|
|
"dependencies": {
|
|
"arch": "^2.1.0",
|
|
"execa": "^0.8.0"
|
|
},
|
|
"description": "Access the system clipboard (copy/paste)",
|
|
"devDependencies": {
|
|
"ava": "*",
|
|
"xo": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-16KrBOV7bHmHdxcQiCvfUFYVFyEah4FI8vYT1Fr7CGSA4G+xBWMEfUEQJS1hxeHGtI9ju1Bzs9uXSbj5HZKArw==",
|
|
"shasum": "2ce320b9ed9be1514f79878b53ff9765420903e2",
|
|
"tarball": "https://registry.npmjs.org/clipboardy/-/clipboardy-1.2.2.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib",
|
|
"fallbacks"
|
|
],
|
|
"gitHead": "ad42ad12c83c7a642ec60c3859054f85f575ce64",
|
|
"homepage": "https://github.com/sindresorhus/clipboardy#readme",
|
|
"keywords": [
|
|
"clipboard",
|
|
"copy",
|
|
"paste",
|
|
"copy-paste",
|
|
"pasteboard",
|
|
"read",
|
|
"write",
|
|
"pbcopy",
|
|
"clip",
|
|
"xclip",
|
|
"xsel"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "floatdrop",
|
|
"email": "floatdrop@gmail.com"
|
|
},
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "clipboardy",
|
|
"optionalDependencies": {},
|
|
"readme": "# clipboardy [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/clipboardy.svg?branch=master)](https://travis-ci.org/sindresorhus/clipboardy) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/gflt3gjn1ia0a3vo/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/clipboardy/branch/master)\n\n> Access the system clipboard (copy/paste)\n\nCross-platform. Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with [Termux](https://termux.com/).\n\n\n## Install\n\n```\n$ npm install clipboardy\n```\n\n\n## Usage\n\n```js\nconst clipboardy = require('clipboardy');\n\nclipboardy.writeSync('🦄');\n\nclipboardy.readSync();\n//=> '🦄'\n```\n\n\n## API\n\n### clipboardy\n\n#### .write(input)\n\nWrite (copy) to the clipboard asynchronously. Returns a `Promise`.\n\n##### input\n\nType: `string`\n\n#### .read()\n\nRead (paste) from the clipboard asynchronously. Returns a `Promise`.\n\n#### .writeSync(input)\n\nWrite (copy) to the clipboard synchronously.\n\n##### input\n\nType: `string`\n\n#### .readSync()\n\nRead (paste) from the clipboard synchronously.\n\n\n## Related\n\n- [clipboard-cli](https://github.com/sindresorhus/clipboard-cli) - CLI for this module\n- [copy-text-to-clipboard](https://github.com/sindresorhus/copy-text-to-clipboard) - Copy text to the clipboard in the browser\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/clipboardy.git"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "1.2.2"
|
|
}
|