wait-for-timers
Version:
Wait for queue of timers (e.g. requestAnimationFrame, requestIdleCallback, setTimeout) to complete before calling a callback
35 lines (34 loc) • 833 B
JSON
{
"name": "wait-for-timers",
"version": "0.1.7",
"description": "Wait for queue of timers (e.g. requestAnimationFrame, requestIdleCallback, setTimeout) to complete before calling a callback",
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"scripts": {
"prepub": "rm -rf dist && tsc -p tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1",
"pub": "npm publish"
},
"files": [
"dist/**"
],
"author": "Micah Engle-Eshleman",
"license": "ISC",
"keywords": [
"requestIdleCallback",
"setTimeout",
"requestAnimationFrame",
"queue",
"timer",
"animation",
"hooks"
],
"repository": {
"type": "git",
"url": "https://github.com/micahjon/wait-for-timers.git"
},
"devDependencies": {
"typescript": "^4.6.2"
}
}