{"_id":"@dendronhq/clipboardy","_rev":"1-c90938b98076882e10f324ff3b7c3747","name":"@dendronhq/clipboardy","dist-tags":{"latest":"2.3.0"},"versions":{"2.3.0":{"name":"@dendronhq/clipboardy","version":"2.3.0","description":"Access the system clipboard (copy/paste)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clipboardy.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clipboard","copy","paste","copy-paste","pasteboard","read","write","pbcopy","clip","xclip","xsel"],"dependencies":{"arch":"^2.1.1","execa":"^1.0.0","is-wsl":"^2.1.1"},"devDependencies":{"ava":"^2.1.0","tsd":"^0.10.0","xo":"^0.25.3"},"browser":"browser.js","exports":{"browser":"./browser.js","default":"./index.js"},"gitHead":"c1c6afa0054b472acd46aace0e6212f625224fa8","bugs":{"url":"https://github.com/sindresorhus/clipboardy/issues"},"homepage":"https://github.com/sindresorhus/clipboardy#readme","_id":"@dendronhq/clipboardy@2.3.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-kZznPBL6B+h4FoI2biGqFqZfzldMLUWyQcoFXoePQtpDZJPlmmzeHoOFbSYJvQEAEMVgILSPTGia0hRn1RNb/A==","shasum":"cedff0c83690f45037c8f215a25936f75137fa83","tarball":"https://registry.npmjs.org/@dendronhq/clipboardy/-/clipboardy-2.3.0.tgz","fileCount":13,"unpackedSize":914149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS/kwCRA9TVsSAnZWagAA3J8P/iAGU47p/OI26GERkPyG\nLhUNqejOwtXC5W5bXEXBrhlwqI0aPbGxshiEBCSOohdld8IsMG9t7BVRJVZv\nVp0d8lTQrGu1kW/sbDSXNNaPFQs6EXU3rAarJyuUQbsCf/VOw1ylm4FGIzKh\n3+K9lJjiCokvIB2XetOXY6IrDDJkK0ZnumWxqIEmqwyvTVSkRUXAVQV3VDQe\n1ANI0PMchMazrK+oMY/EGi8sT3PDbgYAwgfnw2XcTetMdQp6ML3V8LfmV5sA\nxqp3ag8xQK0eWgpqJYO5WtIi68WZ8YAeKYGrXFEjMQeyHp5ft/G8SFbbpIip\n+PFQx7hdTQsgJk93SKnAB8e+F2YrFwcDYE8TeIu0axmjZ8jmvE6d1bVt6BlK\nK0NFO9oNyGMwxsuNoH3Asx0YqKsWStRr/Kon0L/nC8TEq6rdc9U5bCC1p/NP\nr3iJLTA0kmX0RZZFQ6VQMePh4RghOlA0NwxODM93VzuIS0pIlikL2zJBpUff\ngM5a+zZeBqqzidgYTgodko0JUAnhRJ16KyTCvNlCCTftusuZYE7zSBiLAE/e\nOOE7Lg10HxtJknnrtD7314K4wM2UoOwjldRikjEOT/C+dyKDW6UcrKrW53Ei\n/HKpNLErIQ4XUaDoCJOm+t4TpeH/CO+WtGzr2T42OV6b9jl3G/bR9X/XLUTd\n+L96\r\n=5Izx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqHLUd0ZrAY1ea/ed16Kkqt7/TVA9KfXTMtoZHDyKocwIgBICV8kE3awhAaiAXP4Il/Q3fp4VWbybqFwZPzDLrVjA="}]},"maintainers":[{"name":"kevins8","email":"kevinslin8@gmail.com"}],"_npmUser":{"name":"kevins8","email":"kevinslin8@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clipboardy_2.3.0_1598814512022_0.3465908403259075"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-30T19:08:31.751Z","2.3.0":"2020-08-30T19:08:32.212Z","modified":"2022-04-05T03:44:33.269Z"},"maintainers":[{"name":"kevins8","email":"kevinslin8@gmail.com"}],"description":"Access the system clipboard (copy/paste)","homepage":"https://github.com/sindresorhus/clipboardy#readme","keywords":["clipboard","copy","paste","copy-paste","pasteboard","read","write","pbcopy","clip","xclip","xsel"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/clipboardy.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/clipboardy/issues"},"license":"MIT","readme":"# clipboardy [![Build Status](https://travis-ci.org/sindresorhus/clipboardy.svg?branch=master)](https://travis-ci.org/sindresorhus/clipboardy)\n\n> Access the system clipboard (copy/paste)\n\nCross-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).\n\n## Install\n\n```\n$ npm install clipboardy\n```\n\n## Usage\n\n```js\nconst clipboardy = require('clipboardy');\n\nclipboardy.writeSync('🦄');\n\nclipboardy.readSync();\n//=> '🦄'\n```\n\n## API\n\n### clipboardy\n\n#### .write(text)\n\nWrite (copy) to the clipboard asynchronously. Returns a `Promise`.\n\n##### text\n\nType: `string`\n\nThe text to write to the clipboard.\n\n#### .read()\n\nRead (paste) from the clipboard asynchronously. Returns a `Promise`.\n\n#### .writeSync(text)\n\nWrite (copy) to the clipboard synchronously.\n\nDoesn't work in browsers.\n\n##### text\n\nType: `string`\n\nThe text to write to the clipboard.\n\n#### .readSync()\n\nRead (paste) from the clipboard synchronously.\n\nDoesn't work in browsers.\n\n## FAQ\n\n#### Where can I find the source of the bundled binaries?\n\nThe [Linux binary](https://github.com/sindresorhus/clipboardy/blob/master/fallbacks/linux/xsel) is just a bundled version of [`xsel`](https://linux.die.net/man/1/xsel). The source for the [Windows binary](https://github.com/sindresorhus/clipboardy/blob/master/fallbacks/windows/clipboard_x86_64.exe) can be found [here](https://github.com/sindresorhus/win-clipboard).\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","readmeFilename":"readme.md"}