UNPKG

animation-frame-loop

Version:

A small wrapper to take care of tracking delta time between frames. Useful for animations or other frame reliant things.

40 lines (39 loc) 1.01 kB
{ "name": "animation-frame-loop", "description": "A small wrapper to take care of tracking delta time between frames. Useful for animations or other frame reliant things.", "keywords": [ "animation", "deltatime" ], "version": "1.0.3", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js" } }, "files": ["dist"], "scripts": { "lint": "eslint ./src", "test": "vitest watch", "test:once": "vitest", "build": "tsc", "dev": "tsc --watch" }, "devDependencies": { "eslint": "^9.18.0", "globals": "^15.14.0", "happy-dom": "^16.5.3", "typescript": "^5.7.3", "vitest": "^2.1.5" }, "type": "module", "author": "Mitchel Jager", "repository": { "type": "git", "url": "https://github.com/Mitcheljager/animation-frame-loop" }, "license": "Unlicense (https://choosealicense.com/licenses/unlicense/)" }