react-watchman
Version:
A human behavior-aware idle detector for React applications. Combines user activity signals with AI-inspired heuristics to detect inactivity intelligently. Ideal for SaaS, banking, and secure apps requiring session timeout and idle monitoring.
55 lines (54 loc) • 1.44 kB
JSON
{
"name": "react-watchman",
"version": "1.0.3",
"description": "A human behavior-aware idle detector for React applications. Combines user activity signals with AI-inspired heuristics to detect inactivity intelligently. Ideal for SaaS, banking, and secure apps requiring session timeout and idle monitoring.",
"keywords": [
"react",
"hook",
"device",
"browser",
"idle",
"idle-detection",
"idle-timeout",
"user-inactivity",
"session-timeout",
"react-idle-hook",
"auto-logout",
"behavior-aware",
"react-hook",
"focus-tracker",
"tab-visibility",
"session-management",
"react-idle",
"smart-idle",
"user-tracking"
],
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"rollup": "rollup -c --bundleConfigAsCjs"
},
"peerDependencies": {
"react": "^19.1.0"
},
"author": "Aditya Jha",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@types/react": "^19.1.6",
"rollup": "^4.41.1",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.8.3"
},
"dependencies": {
"@rollup/plugin-terser": "^0.4.4",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-peer-deps-external": "^2.2.4"
}
}