{"_id":"clipboard-js","_rev":"26-0750436029b622bac5dd24165ced2e16","name":"clipboard-js","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","dist-tags":{"latest":"0.3.6"},"versions":{"0.1.0":{"name":"clipboard-js","version":"0.1.0","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/lgarron/clipboard.js"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"gitHead":"29691db403ab0c3c3d9836e826dc90ee629adb7d","homepage":"https://github.com/lgarron/clipboard.js","_id":"clipboard-js@0.1.0","scripts":{},"_shasum":"17293287db4e4e40d587fd692bd95c23c2d1eec8","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"lgarron","email":"code@garron.net"},"dist":{"shasum":"17293287db4e4e40d587fd692bd95c23c2d1eec8","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.1.0.tgz","integrity":"sha512-bvbGjGHDGmwNrmEXlTJqEF2nF6oftd4uOLCIyjeX5eCMPeLoGGiLyBFBj85JYq0F6YXFSHhXriA8pu4n57c+Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+1qfYQQMRTMD64saJT6gHwnK9Q448zaAvm+P/U8pgdAIhAPSXpmEFg01I3xxxBrR4X7YbDCRSYO8tR0sgjpmPkn0v"}]},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.1.2":{"name":"clipboard-js","version":"0.1.2","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/lgarron/clipboard.js"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"gitHead":"df3625aea0c03ce6274c503bc6debc22117e59c8","homepage":"https://github.com/lgarron/clipboard.js","_id":"clipboard-js@0.1.2","scripts":{},"_shasum":"2ce0a8e0f404c766d9a5340c4bac3283e44a1ed5","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"lgarron","email":"code@garron.net"},"dist":{"shasum":"2ce0a8e0f404c766d9a5340c4bac3283e44a1ed5","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.1.2.tgz","integrity":"sha512-pXGj2ljbvAWjnxYEbBEBGu1+QfMt9VtZCbRfWlXOnIDxdZsr+goK8NY8U42QZBTvME6XksOtA1rZf7FOTrZcXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8R565voQNoQ/ozUCjwhnBDhnJnvHBv2utNUDifgMRyAiBuATwCNgCEkkOkAIqFpWXqIcmvWaM7eG0hCid1Iz0AAg=="}]},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.2.0":{"name":"clipboard-js","version":"0.2.0","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/lgarron/clipboard.js"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"gitHead":"def88f0df82702efb04c4edcdeeaa1e11ba7a6e0","homepage":"https://github.com/lgarron/clipboard.js","_id":"clipboard-js@0.2.0","scripts":{},"_shasum":"ba1a6092ccbce43ccc9817407737692e432f409b","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"lgarron","email":"code@garron.net"},"dist":{"shasum":"ba1a6092ccbce43ccc9817407737692e432f409b","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.2.0.tgz","integrity":"sha512-Pbp3Sj3PDX2eEQA26XHJ+w6zsiThu8znDryxj0lKGps0LCEwId+uZGq7rIOvzKetEI5b4+XIlK2fCnpFShH/Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGybAepdhgKj8x6K8/rt5BSSW4vl1w/y2Tx4+NKDfniwIgKC7XrEA/RbVhOf+7RRRv7LNH++wBeGk8eqi+t8PH8uo="}]},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.0":{"name":"clipboard-js","version":"0.3.0","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.0","scripts":{},"_shasum":"c036873a81fb53c5a934cad56214e82c9fba43ff","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"lgarron","email":"code@garron.net"},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"dist":{"shasum":"c036873a81fb53c5a934cad56214e82c9fba43ff","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.0.tgz","integrity":"sha512-y3PSh2agJ7amFNSHsYdleK5jgNFESDvPLVoh5xXahZHUK2eZg4hSGMcG5NonOxiByWoNdEDUm4JRn89dHSKldw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX/ToMSG7uVOToKlJRHcfzv81LLk1KxZ9smp240dw8HAIhAOjtTkwmZuKWgDUt2pAAcsPS1FSo+FvXJc1LqETOroXJ"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clipboard-js-0.3.0.tgz_1474616323235_0.9150644221808761"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.1":{"name":"clipboard-js","version":"0.3.1","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.1","scripts":{},"_shasum":"33bef15c4420662ea8297827d57b51526e821047","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"lgarron","email":"code@garron.net"},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"dist":{"shasum":"33bef15c4420662ea8297827d57b51526e821047","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.1.tgz","integrity":"sha512-MnNNLlxQIL4cgFMJQggH1ORUG8sVZHcF4XePaIWcPdeNbGJgXFcMDEw8JBY48MvJnwn66+35kcOUn37d4af2Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBes0kcospd1uFeM1rgSKs8z5ovH1mQCbzZ4Tk613TehAiEAxRxziN1cMyvM6k2TBufTssXc5utZ3mQU6wpLDHmmWGU="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clipboard-js-0.3.1.tgz_1474616499390_0.31447913357988"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.2":{"name":"clipboard-js","version":"0.3.2","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"gitHead":"1eb5a1b90e28d7c56e58c3e43f974b46d9531424","homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.2","scripts":{},"_shasum":"a51e5d99c35f9ef11c61caea68bda66770b9f28d","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.1","_npmUser":{"name":"lgarron","email":"code@garron.net"},"dist":{"shasum":"a51e5d99c35f9ef11c61caea68bda66770b9f28d","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.2.tgz","integrity":"sha512-ZO6ckbGItq0wBlmYRscyUTamsfFRkClJKfA8PJDRSi9VQDVbuRK7wXtaHxOnyUIhGWS/Oyx6DjJDqGNQcd6Xgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr30MxdWS0gBwzSFAcQ6syUM/OgPXuUACQRwWrCOj13QIhANwk8UBfNW4+iPv+xsAG03Nwi3bxgPnH39SqQ41uf6d8"}]},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clipboard-js-0.3.2.tgz_1482360624009_0.121603574603796"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.3":{"name":"clipboard-js","version":"0.3.3","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.3","scripts":{},"_shasum":"62264c17c80ebf84f4022286f032501e890b8922","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"lgarron","email":"code@garron.net"},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"dist":{"shasum":"62264c17c80ebf84f4022286f032501e890b8922","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.3.tgz","integrity":"sha512-2DLavGdKIoAz0jm8IxmE4ki1irUMy9CN782kP3tTjQFAjBTEfoyMP7B51HMGh9TpSb4MY/Qo/+zJDPm0xtVhEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3UI6nbyAvlxMxGIsTlBrNxaceO4Sd7UqaQx8K01h4bQIgFHi0w/k9eskDZAbt6txgH13MCe4sKjNWoi3nL3n9d+o="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clipboard-js-0.3.3.tgz_1486853041879_0.09465266484767199"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.4":{"name":"clipboard-js","version":"0.3.4","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.4","scripts":{},"_shasum":"a0de7f54fdd28f42c0f10dc721e4bd73f1a2f160","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"lgarron","email":"code@garron.net"},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"dist":{"shasum":"a0de7f54fdd28f42c0f10dc721e4bd73f1a2f160","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.4.tgz","integrity":"sha512-ce4GjwR/DLoD0qQK2Cfh/iZu0DiG7sOnyKfffkKurweIsp7hOG3KE2lplKtYyw0yxwXxLUSYtvU+kQzJFOTJTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgFeGYYepTd21nqrAlCuP4shI35prNE1e76P7yLcQRRwIgPlXidZeMGce6sDaJ4SNC0PVh15PwU02sR7ea7sebkq0="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clipboard-js-0.3.4.tgz_1498622569906_0.021530596539378166"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.5":{"name":"clipboard-js","version":"0.3.5","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.5","scripts":{},"_shasum":"df3f8c67f45b3109d4352467232b0de03918b221","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"lgarron","email":"code@garron.net"},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"dist":{"shasum":"df3f8c67f45b3109d4352467232b0de03918b221","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.5.tgz","integrity":"sha512-Yb25zpIvj/C68gQkzJm6hRDQabFW3cX8FQFthpXPnOchqjHRZUrxYC9/yWCdQ9+v3nmupc9aHJiBVZOfxYm7KQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjEYLDhiPD5VmFu4rmE4xLkYvP3XuMtbK/GPiikl+LXAiANhJc3fZkZC+5Jg8+4/v/5caX/osYuvmm5fWZkVtrKjA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clipboard-js-0.3.5.tgz_1498643444256_0.3889038909692317"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"},"0.3.6":{"name":"clipboard-js","version":"0.3.6","description":"A web shim to handle clipboard APIs across browsers using a simple Promise API.","main":"clipboard.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"license":"MIT","bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"homepage":"https://github.com/lgarron/clipboard.js#readme","_id":"clipboard-js@0.3.6","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"lgarron","email":"code@garron.net"},"dist":{"integrity":"sha512-hyrmvbrYCeRBHdiR3KrEz0tmrUTXXEU8HLeGW0Y0icUSwYmAsmc+d6wfE4EDb/TxZmAVJG0eTfMlulCIT+ecfw==","shasum":"6260add69b5318fde40b80f9d3c8c863efdaf339","tarball":"https://registry.npmjs.org/clipboard-js/-/clipboard-js-0.3.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARJovg36+VnPYM+Nbj0B4TIkwsFyq7TSuSymCTOZljrAiEAwPBomdXDtuKpDb0qpkLASrLVddNMIKMEGnY05Mudrqg="}]},"maintainers":[{"name":"lgarron","email":"code@garron.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clipboard-js-0.3.6.tgz_1509006213582_0.8104710788466036"},"deprecated":"Please migrate to https://github.com/lgarron/clipboard-polyfill"}},"readme":"# `clipboard.js`\n\nThis library has been superseded by [`clipboard-polyfill`](https://github.com/lgarron/clipboard-polyfill), which works in more browsers.\n\nHere's how to migrate:\n\n# Plain Text\n\n```\n// clipboard.js\nclipboard.copy(\"plain text\");\n```\n\n```\n// clipboard-polyfill\nclipboard.writeText(\"plain text\");\n```\n\n# Rich Text\n\n```\n// clipboard.js\nclipboard.copy({\n  \"text/plain\": \"Fallback markup text.\",\n  \"text/html\": \"<i>Markup</i> <b>text</b>.\"\n});\n```\n\n```\n// clipboard-polyfill, similar to async clipboard API\nvar dt = new clipboard.DT();\ndt.setData(\"text/plain\", \"Fallback markup text.\");\ndt.setData(\"text/html\", \"<i>Markup</i> <b>text</b>.\");\nclipboard.write(dt);\n```\n\n# DOM element\n\n```\n// clipboard.js\nclipboard.copy(document.body);\n```\n\n```\n// clipboard-polyfill, similar to async clipboard API\nvar dt = new clipboard.DT();\ndt.setData(\"text/plain\", document.body.innerText);\ndt.setData(\"text/html\", new XMLSerializer().serializeToString(document.body));\nclipboard.write(dt);\n```\n\n","maintainers":[{"name":"lgarron","email":"code@garron.net"}],"time":{"modified":"2022-06-13T06:10:49.692Z","created":"2015-05-06T13:48:35.137Z","0.1.0":"2015-05-06T13:48:35.137Z","0.1.2":"2015-11-12T20:52:18.336Z","0.2.0":"2015-11-12T21:34:46.976Z","0.3.0":"2016-09-23T07:38:43.468Z","0.3.1":"2016-09-23T07:41:39.612Z","0.3.2":"2016-12-21T22:50:24.230Z","0.3.3":"2017-02-11T22:44:02.109Z","0.3.4":"2017-06-28T04:02:50.004Z","0.3.5":"2017-06-28T09:50:44.425Z","0.3.6":"2017-10-26T08:23:33.693Z"},"homepage":"https://github.com/lgarron/clipboard.js#readme","keywords":["clipboard","HTML5","copy","copying","cut","paste","execCommand","setData","getData"],"repository":{"type":"git","url":"git+https://github.com/lgarron/clipboard.js.git"},"author":{"name":"Lucas Garron","email":"code@garron.net","url":"https://garron.net/"},"bugs":{"url":"https://github.com/lgarron/clipboard.js/issues"},"license":"MIT","readmeFilename":"README.md","users":{"ivangaravito":true,"koulmomo":true,"sqrtthree":true,"taivare":true,"johncido":true,"timbrandin":true,"edwardxyt":true,"itonyyo":true,"ldq-first":true,"lusai":true,"irj":true}}