@mdus/use-timer-hooks
Version:
React timer hooks — useTimeout and useInterval with cleanup, lifecycle safety, and manual control.
49 lines (48 loc) • 1.07 kB
JSON
{
"name": "@mdus/use-timer-hooks",
"version": "1.0.1",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"description": "React timer hooks — useTimeout and useInterval with cleanup, lifecycle safety, and manual control.",
"keywords": [
"react",
"react-hooks",
"custom-hooks",
"useTimeout",
"useInterval",
"setTimeout",
"setInterval",
"timer",
"react-abstractions",
"frontend-utility",
"lifecycle-safe-hooks"
],
"author": "Md Umar Siddique",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/umarSiddique010/use-timer-hooks.git"
},
"scripts": {
"build": "rollup -c"
},
"peerDependencies": {
"react": ">=17.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.3",
"rollup": "^2.79.2"
}
}