{"_id":"apm","_rev":"187-6877d2516f7d1afac48878b8b35f288e","name":"apm","time":{"modified":"2022-06-13T03:14:24.747Z","created":"2013-06-28T08:08:54.903Z","0.3.0":"2013-06-28T08:08:58.519Z","0.3.1":"2013-07-05T09:49:29.431Z","0.3.2":"2013-07-10T05:25:26.800Z","0.3.3":"2013-07-17T11:40:50.286Z","0.3.4":"2013-07-18T09:43:56.859Z","0.3.5":"2013-07-22T07:19:54.816Z","0.3.6":"2013-07-30T08:58:32.116Z","0.3.7":"2013-07-30T11:48:36.631Z","0.4.0":"2013-08-15T13:33:21.167Z","0.4.1":"2013-08-23T03:46:29.461Z","0.4.2":"2013-08-29T08:40:03.943Z","0.4.3":"2013-09-06T10:04:08.387Z","0.4.4":"2013-09-16T11:02:42.968Z","0.4.5":"2013-11-05T04:04:34.987Z","0.5.0":"2013-11-13T11:11:02.268Z","0.5.1":"2013-11-22T08:00:18.469Z","0.5.2":"2013-12-20T05:38:35.278Z","0.5.3":"2013-12-20T10:02:08.064Z","0.5.4":"2014-01-15T06:45:05.142Z","0.5.5":"2014-01-24T11:49:20.829Z","0.5.6":"2014-02-11T04:09:20.343Z","0.5.7":"2014-03-13T05:22:22.377Z","0.5.8":"2014-03-31T08:47:06.674Z","0.5.9":"2014-04-16T06:25:48.385Z","0.5.10":"2014-05-22T07:15:29.612Z","0.5.12":"2014-06-26T05:48:33.288Z","0.0.1":"2014-09-03T05:51:31.614Z","1.0.0":"2016-02-10T10:51:56.044Z","1.0.1":"2016-02-11T02:34:31.289Z","1.0.2":"2016-06-29T12:10:53.507Z"},"maintainers":[{"email":"npmjs.com@DOdekeract.com","name":"florianwendelborn"}],"description":"Actions per minute! Or any other time, actually.","readme":"# apm\n\nActions per minute! Or any other time, actually.\n\n## API\n\n### default class APM ({accuracy = 1000, timeSpan = 60000})\n\n````javascript\nimport APM from 'apm';\n\nconst apm = new APM({\n\taccuracy: 500,\n\ttimeSpan: 30000\n});\n\nsetInterval(() => {\n\tapm.add('example', 1);\n}, 500);\n\nsetTimeout(() => {\n\tconsole.log(apm.get('example')); // 60\n}, 30000);\n````\n\n### add (id, amount)\n\nAdds `amount` to `id`.\n\n### get (id)\n\nReturns the APM (or per `timeSpan`) for `id`.","versions":{"0.0.1":{"name":"apm","version":"0.0.1","description":"actions per minute for all the things","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/jasondreyzehner/apm.git"},"author":{"name":"Satoshi Nakamoto","email":"satoshi@bitpay.com"},"license":"MIT","bugs":{"url":"https://github.com/jasondreyzehner/apm/issues"},"homepage":"https://github.com/jasondreyzehner/apm","_id":"apm@0.0.1","dist":{"shasum":"e5cc6bdd27a682d93544d8f04afbab4bb1decd7f","tarball":"https://registry.npmjs.org/apm/-/apm-0.0.1.tgz","integrity":"sha512-JXd+Ug3UC0GdC+StI2+24lXLm0LElCxF/NVK+yZoXJnX8n6BnmX/UjXyLlfEKwrhkupm4ojp51BSM8VtomGrPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcHguOppgKVqFjo2dDj5STwnamipst+jOYdz+1nhJEYgIhAIh91s46Yudt5d6l/4T3TfOEXisJ3yrgVwIFFC6i28M8"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"directories":{}},"1.0.0":{"name":"apm","version":"1.0.0","description":"Actions per minute! Or any other time, actually.","main":"source/","repository":{"type":"git","url":"git+https://github.com/dodekeract/apm.git"},"keywords":["time","actions-per-minute","apm","interval","fps","average"],"author":{"name":"Florian Wendelborn"},"license":"MIT","bugs":{"url":"https://github.com/dodekeract/apm/issues"},"homepage":"https://github.com/dodekeract/apm#readme","jscsConfig":{"validateIndentation":"\t","requirePaddingNewLinesAfterBlocks":false,"requireTrailingComma":false,"requireSpacesInsideObjectBrackets":false,"validateQuoteMarks":false,"disallowSpacesInFunctionDeclaration":false},"gitHead":"34507a66a5e1af0b2430eb9ba20a304f3f6cca6e","_id":"apm@1.0.0","scripts":{},"_shasum":"10defd5bb2423b381ed0228a8ec7c1c5a25e96ad","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"dodekeract","email":"florianwendgithub@gmail.com"},"dist":{"shasum":"10defd5bb2423b381ed0228a8ec7c1c5a25e96ad","tarball":"https://registry.npmjs.org/apm/-/apm-1.0.0.tgz","integrity":"sha512-4PpN2080/AWG130+LXyPi4P9PfS0IN5EKSQFOo+I1A2D0nLJhi3DUrv/QZMTfqU/5j7f0QNTzrICIY+xNJh75g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASzoRSA6QYwaN3ipWnSmV/hwQO3dmrXQ31KxZgMS+liAiBsmCgvTxPsHbSdgQZJ9QiQmst9aia7fPetj1H4wwUKTA=="}]},"maintainers":[{"name":"dodekeract","email":"florianwendgithub@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/apm-1.0.0.tgz_1455101512928_0.7696131474804133"},"directories":{}},"1.0.1":{"name":"apm","version":"1.0.1","description":"Actions per minute! Or any other time, actually.","main":"source/","repository":{"type":"git","url":"git+https://github.com/dodekeract/apm.git"},"keywords":["time","actions-per-minute","apm","interval","fps","average"],"scripts":{"prepublish":"PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags"},"author":{"name":"Florian Wendelborn"},"license":"MIT","bugs":{"url":"https://github.com/dodekeract/apm/issues"},"homepage":"https://github.com/dodekeract/apm#readme","jscsConfig":{"validateIndentation":"\t","requirePaddingNewLinesAfterBlocks":false,"requireTrailingComma":false,"requireSpacesInsideObjectBrackets":false,"validateQuoteMarks":false,"disallowSpacesInFunctionDeclaration":false},"gitHead":"fd693fb8efb8ae16374a9542a8cf10a025256c50","_id":"apm@1.0.1","_shasum":"816d5b589d5fe888d6b985bbf167f4b2f8b0ed63","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.6","_npmUser":{"name":"dodekeract","email":"florianwendgithub@gmail.com"},"dist":{"shasum":"816d5b589d5fe888d6b985bbf167f4b2f8b0ed63","tarball":"https://registry.npmjs.org/apm/-/apm-1.0.1.tgz","integrity":"sha512-xUheiUtXo33QgFc04AmqEkBuC1nNvETwDWP/vtwMPsTWy3QonWWpJie7oIbduWGJsJqDyhbo0uGXKE8skyuAMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkxIzjzfCMKIpYMwb4t9I3YyLeSss1zuj8XkYN8KaCswIgQCG9XxYwT4+ic0VDyTtO+tRXhTaMpc7sDoI8SPzZ1hQ="}]},"maintainers":[{"name":"dodekeract","email":"florianwendgithub@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/apm-1.0.1.tgz_1455158068003_0.17454636096954346"},"directories":{}},"1.0.2":{"name":"apm","version":"1.0.2","description":"Actions per minute! Or any other time, actually.","main":"build/","repository":{"type":"git","url":"git+https://github.com/dodekeract/apm.git"},"keywords":["time","actions-per-minute","apm","interval","fps","average"],"scripts":{"postpublish":"PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags","build":"babel --presets es2015 source/ -d build/"},"author":{"name":"Florian Wendelborn"},"license":"MIT","bugs":{"url":"https://github.com/dodekeract/apm/issues"},"homepage":"https://github.com/dodekeract/apm#readme","jscsConfig":{"validateIndentation":"\t","requirePaddingNewLinesAfterBlocks":false,"requireTrailingComma":false,"requireSpacesInsideObjectBrackets":false,"validateQuoteMarks":false,"disallowSpacesInFunctionDeclaration":false},"devDependencies":{"babel-cli":"^6.10.1","babel-preset-es2015":"^6.9.0"},"gitHead":"ce236524bf60fef3d279003b8a3afc199b66c664","_id":"apm@1.0.2","_shasum":"c9213275e05a638eb2e67bfa60e9173eca5fca4b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"dodekeract","email":"florianwendgithub@gmail.com"},"dist":{"shasum":"c9213275e05a638eb2e67bfa60e9173eca5fca4b","tarball":"https://registry.npmjs.org/apm/-/apm-1.0.2.tgz","integrity":"sha512-BSO8bFxqKZX0/R9zmporh7ct/GFcd3yh/eJcphcPKB4P+ChhztzWxfVtV3Dm27Fu27a4K6IYqUYpKz6RlzfVKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5gKX4i7Lu7mC3MhMfFuvdYvqHCP3vStgUXHsSRZ7jZgIhAKdZuJsa6sRepA2Bg8pZe9H6iMzVbpzOQaeJm5cqRlCi"}]},"maintainers":[{"name":"dodekeract","email":"florianwendgithub@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/apm-1.0.2.tgz_1467202252300_0.6476565580815077"},"directories":{}}},"dist-tags":{"latest":"1.0.2"},"readmeFilename":"readme.md","homepage":"https://github.com/dodekeract/apm#readme","repository":{"type":"git","url":"git+https://github.com/dodekeract/apm.git"},"author":{"name":"Florian Wendelborn"},"bugs":{"url":"https://github.com/dodekeract/apm/issues"},"license":"MIT","keywords":["time","actions-per-minute","apm","interval","fps","average"]}