@javelin/hrtime-loop
Version:
A tiny, high-resolution game loop for NodeJS 10+. Utilizes the `setImmediate` and `setTimeout` schedulers in conjunction to maintain a balance of precision and performance.
24 lines (23 loc) • 406 B
JSON
{
"name": "@javelin/hrtime-loop",
"version": "1.0.0-alpha.4",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist"
],
"keywords": [
"loop",
"game",
"hires",
"hrtime",
"high",
"resolution"
],
"scripts": {
"clean": "rm -f *.tsbuildinfo && rm -rf dist",
"build": "tsc -b && tsc -b tsconfig.cjs.json"
}
}