Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

copyr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copyr - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.npmignore

12

package.json
{
"name": "copyr",
"version": "1.0.1",
"version": "1.0.2",
"description": "Copy text to the clipboard.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "babel src --presets babel-preset-es2015 --out-dir dist",
"prepublish": "npm run build"
},

@@ -24,3 +26,7 @@ "repository": {

},
"homepage": "https://github.com/Xyfir/copyr#readme"
"homepage": "https://github.com/Xyfir/copyr#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1"
}
}
Copy text to the clipboard.
A simple module that lets you copy text to the clipboard. copyr uses `document.execCommand('copy')` and there are no fallbacks or unnecessary code.
Only uses `document.execCommand('copy')`. There are no fallbacks or other unnecessary code.
# Usage
Used by [Ptorx](https://ptorx.com/) and other projects in the [Xyfir Network](https://xyfir.com/).

@@ -7,0 +7,0 @@ ```js

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc