Socket
Socket
Sign inDemoInstall

react-use-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-use-clipboard - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

30

package.json
{
"name": "react-use-clipboard",
"description": "React hook that provides copy to clipboard functionality.",
"version": "0.1.0",
"version": "0.1.1",
"author": "Daniel O'Connor <daniel@danoc.me>",

@@ -13,3 +13,3 @@ "license": "MIT",

"scripts": {
"test": "yarn test:eslint && yarn test:prettier",
"test": "yarn test:eslint && yarn test:jest && yarn test:prettier",
"test:eslint": "eslint . --ignore-path .gitignore --ext .jsx --ext .js",

@@ -30,21 +30,21 @@ "test:jest": "jest --coverage",

"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.0.0",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.4",
"codecov": "^3.1.0",
"eslint": "^5.10.0",
"eslint": "^5.13.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.2.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-react-hooks": "^0.0.0",
"eslint-plugin-react-hooks": "^1.0.1",
"husky": "^1.1.4",
"jest": "^24.0.0",
"prettier": "1.16.1",
"jest": "^24.1.0",
"prettier": "1.16.4",
"pretty-quick": "^1.8.0",
"prop-types": "^15.6.2",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-testing-library": "^5.2.3",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-testing-library": "^5.5.4",
"rollup": "^1.1.0",

@@ -55,4 +55,4 @@ "rollup-plugin-babel": "^4.3.0"

"prop-types": "^15.0.0",
"react": "^16.8.0-alpha.0",
"react-dom": "^16.8.0-alpha.0"
"react": "^16.8.0",
"react-dom": "^16.8.0"
},

@@ -59,0 +59,0 @@ "publishConfig": {

@@ -1,5 +0,7 @@

# `react-use-clipboard`
# 📋 react-use-clipboard
> React hook that provides copy to clipboard functionality.
[![NPM version](https://badgen.net/npm/v/react-use-clipboard)](https://www.npmjs.com/package/react-use-clipboard) [![Build status](https://badgen.net/travis/danoc/react-use-clipboard)](https://travis-ci.com/danoc/react-use-clipboard) [![Code coverage](https://badgen.net/codecov/c/github/danoc/react-use-clipboard)](https://codecov.io/gh/danoc/react-use-clipboard) [![Bundle size](https://badgen.net/bundlephobia/min/react-use-clipboard?label=size)](https://bundlephobia.com/result?p=react-use-clipboard) [![Bundle size](https://badgen.net/bundlephobia/minzip/react-use-clipboard?label=gzip%20size)](https://bundlephobia.com/result?p=react-use-clipboard)
> A React Hook that provides copy to clipboard functionality.
## Install

@@ -21,3 +23,3 @@

Here's how to use `ClickableBox` to make a clickable SVG:
Here's how to use `react-use-clipboard`:

@@ -37,1 +39,3 @@ ```jsx

```
This package only works in versions of React that support Hooks.
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