UNPKG

react-use-debounce-hook

Version:

A lightweight React hook for debouncing values with zero dependencies.

53 lines (52 loc) 1.12 kB
{ "name": "react-use-debounce-hook", "version": "1.0.1", "description": "A lightweight React hook for debouncing values with zero dependencies.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc", "prepare": "npm run build", "prepublishOnly": "npm run build" }, "keywords": [ "react", "hook", "debounce", "useDebounce", "react-hook", "typescript", "javascript", "performance", "optimization", "delay", "throttle", "input", "search", "form", "api" ], "author": "Syed Junaid", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/syedjunaid92/react-use-debounce-hook.git" }, "bugs": { "url": "https://github.com/syedjunaid92/react-use-debounce-hook/issues" }, "homepage": "https://github.com/syedjunaid92/react-use-debounce-hook#readme", "peerDependencies": { "react": ">=17.0.0" }, "devDependencies": { "@types/react": "^18.0.0", "typescript": "^4.9.0" }, "engines": { "node": ">=14.0.0" } }