UNPKG

idle-detect

Version:

A TypeScript library for inactivity timer, which utilises `IdleDetector` API where possible or a fallback to `window.setTimeout` approach

37 lines (36 loc) 851 B
{ "name": "idle-detect", "version": "0.2.0", "description": "A TypeScript library for inactivity timer, which utilises `IdleDetector` API where possible or a fallback to `window.setTimeout` approach", "main": "dist/index.js", "scripts": { "build": "npx tsc", "test": "cypress run", "test:open": "cypress open" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/annexare/IdleDetect.git" }, "keywords": [ "IdleDetector", "TypeScript", "idle", "inactivity", "timer", "typescript" ], "author": "dmythro", "license": "MIT", "bugs": { "url": "https://github.com/annexare/IdleDetect/issues" }, "homepage": "https://github.com/annexare/IdleDetect#readme", "devDependencies": { "cypress": "~11.0.1", "typescript": "~4.8.4" } }