{"_id":"stats.js","_rev":"17-ee3bc7f421436d9dc7137e2e32d9d2ea","name":"stats.js","description":"JavaScript Performance Monitor","dist-tags":{"latest":"0.17.0"},"versions":{"1.0.0":{"name":"stats.js","version":"1.0.0","description":"JavaScript Performance Monitor","main":"src/Stats.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"Mr.doob","email":"info@mrdoob.com"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","_id":"stats.js@1.0.0","_shasum":"ca304e56b116a3f46413acc349eb6eee19df688e","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"lmacsen","email":"liviu@ideveloper.ro"},"dist":{"shasum":"ca304e56b116a3f46413acc349eb6eee19df688e","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-1.0.0.tgz","integrity":"sha512-lPiGleXUce7V0mwAocmWXlc3TG7cek0/6y5MFI88cb3k0FbJPmFIiBUxR+/dapOWNUUuMPoSIl2hWKz+hQDCwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBt0lUzr68d7H5ILM3nu0gFcvC8138o851NRQUjCOe1lAiEA7LYR+nUNxNWXb/HmpwBCCjE1o1ie06Vr4in+5D28NUc="}]},"maintainers":[{"name":"lmacsen","email":"liviu@ideveloper.ro"}]},"0.0.14":{"name":"stats.js","version":"0.0.14","description":"JavaScript Performance Monitor","main":"src/Stats.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"Mr.doob","email":"info@mrdoob.com"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","_id":"stats.js@0.0.14","_shasum":"7b17eb9974148a0be5e50fe965e27a0d63862122","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"lmacsen","email":"liviu@ideveloper.ro"},"dist":{"shasum":"7b17eb9974148a0be5e50fe965e27a0d63862122","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-0.0.14.tgz","integrity":"sha512-e5xjt00DHvvBMYHz1iBeUM6h/3UDb359wkTuhK6ZeatmBv5QCLQBVcAfqJdhavRoqceJ5WloRzKb1s6blgs5IQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDB7gO4/VKLh4YrZPephwTuntGh9HwlX1YBGWJVq5xRmAiEAy9vsl01HEa8N5FQUaYXjysRSPxiw/RBmLJGaBimQDE8="}]},"maintainers":[{"name":"lmacsen","email":"liviu@ideveloper.ro"}]},"0.0.14-master":{"name":"stats.js","version":"0.0.14-master","description":"JavaScript Performance Monitor","main":"src/Stats.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"Mr.doob","email":"info@mrdoob.com"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","_id":"stats.js@0.0.14-master","_shasum":"3a45ab5c3a6c06cfef263553ac6dcffb8ef03720","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"lmacsen","email":"liviu@ideveloper.ro"},"dist":{"shasum":"3a45ab5c3a6c06cfef263553ac6dcffb8ef03720","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-0.0.14-master.tgz","integrity":"sha512-bWWumD2cJ6ifS+Xfq9VBkGBxylLQGKkvlSgzP+iNQ7IBI4IEsgQp6yWjyjFIemSgcN8pCeGWrLqSkr4rSns+bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICG1AxfPFWti1a43AVKnzvYPVH+UXOiejE/bskAghCavAiANi5f9IYbTyg54NBVA3WY3Dz46eFvK8otm3cd8cGyXCw=="}]},"maintainers":[{"name":"lmacsen","email":"liviu@ideveloper.ro"}]},"0.0.16":{"name":"stats.js","version":"0.0.16","description":"JavaScript Performance Monitor","main":"builds/stats.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"mrdoob"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","gitHead":"4ebe0c467ae368adcd4fc91befbf6190bf4e9d37","_id":"stats.js@0.0.16","_shasum":"551739b2940b55be46063c89867b7015e94a9a58","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"mrdoob","email":"info@mrdoob.com"},"dist":{"shasum":"551739b2940b55be46063c89867b7015e94a9a58","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-0.0.16.tgz","integrity":"sha512-ri/V+s/6TO5XdSykLOsOeFlGj6Z7WCqdjfFxZhCDSz43OAjjrgL8l83mdymq2Wj3UtRfBNLwTipJuhEa/snq9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC88xrD6CLOAQzhYyFrc9QdZMnBIOz+EQvYRoMST9iyDAIgdigxK0a2K2wrO661mAU24blNwT+aZIjZvfjtmpbljtM="}]},"maintainers":[{"name":"mrdoob","email":"info@mrdoob.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stats.js-0.0.16.tgz_1460384905154_0.5364095414988697"}},"0.16.0":{"name":"stats.js","version":"0.16.0","description":"JavaScript Performance Monitor","main":"build/stats.min.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"mrdoob"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","gitHead":"ad9f55c2de36fb0bd37e70f9da14bd27ee618d74","_id":"stats.js@0.16.0","_shasum":"097b4ff93b807d9320bc6bcd32687ebeb17f096f","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"mrdoob","email":"info@mrdoob.com"},"dist":{"shasum":"097b4ff93b807d9320bc6bcd32687ebeb17f096f","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-0.16.0.tgz","integrity":"sha512-jb2Jyz2uUemjjOHGuOYEea/865nf82RTcl1WQK8rDuqHqcsT6ffALD5F57sqpI8BJDm8QtYdHl0z+eVWRVzd8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEO8ziD36LOWvhsxJ+/7PDeHtwIICRmPRVm4nCfEIpVzAiEA8fSRmNzBuVhGfeI3X+DhDbmrNHlEEz74hXVGyITB5ko="}]},"maintainers":[{"name":"mrdoob","email":"info@mrdoob.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stats.js-0.16.0.tgz_1460387974341_0.3377626047004014"}},"0.17.0":{"name":"stats.js","version":"0.17.0","description":"JavaScript Performance Monitor","main":"build/stats.min.js","directories":{"example":"examples"},"files":["build","src"],"scripts":{"build":"rollup -c","build-uglify":"rollup -c && uglifyjs build/stats.js -cm --preamble \"// stats.js - http://github.com/mrdoob/stats.js\" > build/stats.min.js","build-closure":"rollup -c && java -jar utils/compiler/closure-compiler-v20160713.jar --language_in=ECMASCRIPT5_STRICT --js build/stats.js --js_output_file build/stats.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"keywords":["performance","fps","stats"],"author":{"name":"mrdoob"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"homepage":"https://github.com/mrdoob/stats.js","devDependencies":{"rollup":"^0.36.0","uglifyjs":"^2.4.10"},"gitHead":"5f0f917354ea2184456e5e361da5df6166306fbf","_id":"stats.js@0.17.0","_shasum":"b1c3dc46d94498b578b7fd3985b81ace7131cc7d","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"mrdoob","email":"info@mrdoob.com"},"dist":{"shasum":"b1c3dc46d94498b578b7fd3985b81ace7131cc7d","tarball":"https://registry.npmjs.org/stats.js/-/stats.js-0.17.0.tgz","integrity":"sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFzMeIK6b3Boq/BELuc2fJCSrTZRfBG7/IOk+fYlx5A2AiA53+d1fZk/L8wCzhzWGjVBXx8BjE1dMAwFe8uKTX0xZg=="}]},"maintainers":[{"name":"mrdoob","email":"info@mrdoob.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stats.js-0.17.0.tgz_1477703918618_0.9200239677447826"}}},"readme":"stats.js\n========\n\n#### JavaScript Performance Monitor ####\n\nThis class provides a simple info box that will help you monitor your code performance.\n\n* **FPS** Frames rendered in the last second. The higher the number the better.\n* **MS** Milliseconds needed to render a frame. The lower the number the better.\n* **MB** MBytes of allocated memory. (Run Chrome with `--enable-precise-memory-info`)\n* **CUSTOM** User-defined panel support.\n\n\n### Screenshots ###\n\n![fps.png](https://raw.githubusercontent.com/mrdoob/stats.js/master/files/fps.png)\n![ms.png](https://raw.githubusercontent.com/mrdoob/stats.js/master/files/ms.png)\n![mb.png](https://raw.githubusercontent.com/mrdoob/stats.js/master/files/mb.png)\n![custom.png](https://raw.githubusercontent.com/mrdoob/stats.js/master/files/custom.png)\n\n\n### Usage ###\n\n```javascript\nvar stats = new Stats();\nstats.showPanel( 1 ); // 0: fps, 1: ms, 2: mb, 3+: custom\ndocument.body.appendChild( stats.dom );\n\nfunction animate() {\n\n\tstats.begin();\n\n\t// monitored code goes here\n\n\tstats.end();\n\n\trequestAnimationFrame( animate );\n\n}\n\nrequestAnimationFrame( animate );\n```\n\n\n### Bookmarklet ###\n\nYou can add this code to any page using the following bookmarklet:\n\n```javascript\njavascript:(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='//rawgit.com/mrdoob/stats.js/master/build/stats.min.js';document.head.appendChild(script);})()\n```\n","maintainers":[{"name":"mrdoob","email":"info@mrdoob.com"}],"time":{"modified":"2022-06-27T00:07:44.614Z","created":"2015-05-14T19:32:11.868Z","1.0.0":"2015-05-14T19:32:11.868Z","0.0.14":"2015-09-21T05:08:58.381Z","0.0.14-master":"2015-09-21T05:16:00.205Z","0.0.16":"2016-04-11T14:28:30.113Z","0.16.0":"2016-04-11T15:19:35.739Z","0.17.0":"2016-10-29T01:18:40.513Z"},"homepage":"https://github.com/mrdoob/stats.js","keywords":["performance","fps","stats"],"repository":{"type":"git","url":"git+https://github.com/mrdoob/stats.js.git"},"author":{"name":"mrdoob"},"bugs":{"url":"https://github.com/mrdoob/stats.js/issues"},"license":"MIT","readmeFilename":"README.md","users":{"darahak":true,"izinin":true,"lotuslwb":true,"xiaochao":true,"xrush":true}}