{"_id":"neo-timer","_rev":"1070779","name":"neo-timer","description":"neo-timer --","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"suguru03","email":"suguru.motegi@gmail.com"}],"time":{"modified":"2024-10-04T02:08:48.000Z","created":"2015-09-16T04:28:49.612Z","0.2.0":"2015-10-02T04:49:55.256Z","0.1.0":"2015-09-16T04:28:49.612Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/suguru03/neo-timer.git"},"versions":{"0.2.0":{"name":"neo-timer","version":"0.2.0","description":"neo-timer --","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/suguru03/neo-timer.git"},"gitHead":"ed187e50c5523ce64e0ff2dcf0927dd82fc0ad9a","bugs":{"url":"https://github.com/suguru03/neo-timer/issues"},"homepage":"https://github.com/suguru03/neo-timer#readme","_id":"neo-timer@0.2.0","scripts":{},"_shasum":"5f102fb9ac200bf7053321a268d9ebc78777193f","_from":".","_npmVersion":"3.3.2","_nodeVersion":"4.0.0","_npmUser":{"name":"suguru03","email":"suguru.motegi@gmail.com"},"dist":{"shasum":"5f102fb9ac200bf7053321a268d9ebc78777193f","tarball":"http://registry-npm.ywwl.com/neo-timer/download/neo-timer-0.2.0.tgz","integrity":"sha512-pWesHksY2ZJGSwsxrhSz/W/0n6ovQ+aDvxx914IGeqKR+0y1IfreXCoGRWQcudzoR+kQOehqr27O2nORJUPv0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUkZfQh5koRZXCv5lXFbJ7f+WgODBBRHbsTL6NMVNKxwIhAJhkXQ98aFyEqD2P+F0bVhJBjgiDJKTCIMA99S/h+ok+"}],"size":4484,"noattachment":false,"key":"/neo-timer/-/neo-timer-0.2.0.tgz"},"maintainers":[{"name":"suguru03","email":"suguru.motegi@gmail.com"}],"directories":{},"publish_time":1443761395256,"_cnpm_publish_time":1443761395256},"0.1.0":{"name":"neo-timer","version":"0.1.0","description":"neo-timer --","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/suguru03/neo-timer.git"},"gitHead":"dd8326257ecf53d96206a2a8a0408d83e70351db","bugs":{"url":"https://github.com/suguru03/neo-timer/issues"},"homepage":"https://github.com/suguru03/neo-timer#readme","_id":"neo-timer@0.1.0","scripts":{},"_shasum":"ff97ae7d5d0f06bfd0651f2dd645003d84b53f6d","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"suguru03","email":"suguru.motegi@gmail.com"},"dist":{"shasum":"ff97ae7d5d0f06bfd0651f2dd645003d84b53f6d","tarball":"http://registry-npm.ywwl.com/neo-timer/download/neo-timer-0.1.0.tgz","integrity":"sha512-xWcJmIs+CFkOWNcsqND8qWFMcfs2spKWsczq3lK16Xp5+SSkxI3xvBWGfXt8vEdoJ8sI4ucDO68654SQlaV29A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMdM2xuK++0BbhKFJmL6IT2bAfAt20NU1+22L5mceRmQIhAOxtcDWlhP3K4svy35KTX90MTIju1jBpWlVmBM+kulqc"}],"size":3401,"noattachment":false,"key":"/neo-timer/-/neo-timer-0.1.0.tgz"},"maintainers":[{"name":"suguru03","email":"suguru.motegi@gmail.com"}],"directories":{},"publish_time":1442377729612,"_cnpm_publish_time":1442377729612}},"readme":"neo-timer\n--\n\nneo-timer can be used as a timer or stopwatch.\n\nThe timer is selected automatically by your environment.\n\n## functions\n\n### init\n\n### start\n\n### diff\n\n### lap\n\n### result\n\n\n## example\n\n```js\n\n'use strict';\n\nvar Timer = require('../');\nvar timer = new Timer({\n  MAX_LAP_LENGTH: 100\n});\n\nvar count = 0;\nvar times = 100;\n\ntimer.init().start();\n\nvar iter = function() {\n  setTimeout(function() {\n    clearTimeout(iter);\n    timer.lap();\n    if (count === times) {\n      console.log(timer.result());\n    } else {\n      iter();\n    }\n  }, Math.random() * 10 * ++count);\n};\n\niter();\n\n```\n\n![graph](https://cloud.githubusercontent.com/assets/8013633/9806130/b987462c-587b-11e5-8d7e-c5ed9a9a564a.png)\n","_attachments":{},"homepage":"https://github.com/suguru03/neo-timer#readme","bugs":{"url":"https://github.com/suguru03/neo-timer/issues"},"license":"MIT"}