UNPKG

react-use-uuid

Version:

A React Hook for generating a unique id for the lifetime of a Component

43 lines (42 loc) 1.07 kB
{ "name": "react-use-uuid", "version": "2.0.1", "description": "A React Hook for generating a unique id for the lifetime of a Component", "main": "dist/index.js", "module": "index.js", "scripts": { "build": "npx babel index.js -d dist --delete-dir-on-start", "test": "npx jest" }, "repository": { "type": "git", "url": "git+https://github.com/Spidy88/react-use-uuid.git" }, "keywords": [ "react", "hooks", "uuid" ], "author": "Nick Ferraro <the.nick.ferraro@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Spidy88/react-use-uuid/issues" }, "homepage": "https://github.com/Spidy88/react-use-uuid#readme", "dependencies": { "uuid": "^3.3.3" }, "devDependencies": { "@babel/cli": "^7.14.8", "@babel/core": "^7.7.7", "@babel/preset-env": "^7.7.7", "@babel/preset-react": "^7.7.4", "@testing-library/react": "^9.4.0", "babel-jest": "^26.0.1", "jest": "^26.0.1", "react-dom": "^16.9.0" }, "peerDependencies": { "react": ">= 16.8.0" } }