UNPKG

@byteclaw/use-unique-id

Version:

React hook to generate unique ids for your components

61 lines (60 loc) 1.45 kB
{ "name": "@byteclaw/use-unique-id", "version": "1.0.2", "description": "React hook to generate unique ids for your components", "main": "dist/use-unique-id.js", "module": "dist/use-unique-id.esm.js", "unpkg": "dist/use-unique-id.umd.js", "source": "src/index.ts", "types": "dist/index.d.ts", "typings": "dist/index.d.js", "scripts": { "build": "microbundle build -o dist", "prebuild": "rimraf dist", "prepublishOnly": "npm run build", "test": "jest", "test:watch": "jest --watch", "typecheck": "tsc --noEmit" }, "peerDependencies": { "@types/react": "^16.9.11 || ^17.0.0", "react": "^16.12.0 || ^17.x" }, "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/byteclaw/hooks.git" }, "keywords": [ "react", "hooks", "question", "dialog", "confirm", "alert", "notification", "prompt" ], "license": "MIT", "bugs": { "url": "https://github.com/byteclaw/hooks/issues" }, "homepage": "https://github.com/Byteclaw/hooks/tree/master/packages/use-unique-id#readme", "contributors": [ { "name": "Michal Kvasničák", "url": "https://github.com/michalkvasnicak" }, { "name": "Juraj Hríb", "url": "https://github.com/jurajhrib" } ], "files": [ "dist" ], "publishConfig": { "access": "public" }, "gitHead": "bd08706851b765342eb00a3d8854d558b9017563" }