UNPKG

@react-awesome/use-debounce

Version:

useDebounce debounces the state value.

47 lines (46 loc) 1.23 kB
{ "name": "@react-awesome/use-debounce", "version": "1.0.0", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "sideEffects": false, "license": "MIT", "description": "useDebounce debounces the state value.", "keywords": [ "react", "debounce", "state", "react", "react", "hooks", "useDebounce" ], "repository": { "url": "https://github.com/trinhthinh388/react-awesome-components" }, "files": [ "dist/**" ], "scripts": { "build": "vite --config ../../vite.config.ts build", "dev": "vite --watch --config ../../vite.config.ts build", "lint": "eslint \"src/**/*.ts*\"", "clean": "rimraf .turbo && rimraf node_modules && rimraf dist", "test": "vitest --config ../../vite.config.ts --coverage --run", "test:ui": "vitest --config ../../vite.config.ts --coverage --ui", "typecheck": "tsc --noEmit" }, "devDependencies": { "@react-awesome/eslint-config": "*", "@react-awesome/tsconfig": "*", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", "eslint": "^8.56.0", "react": "^18.2.0", "typescript": "^5.3.3" }, "publishConfig": { "access": "public" } }