{"_id":"hdr-histogram-js","_rev":"2771178","name":"hdr-histogram-js","description":"TypeScript port of HdrHistogram","dist-tags":{"beta":"2.0.0-beta7","latest":"3.0.0"},"maintainers":[{"name":"alexvictoor","email":""}],"time":{"modified":"2022-05-23T09:39:27.000Z","created":"2016-12-25T15:46:42.253Z","3.0.0":"2021-12-28T11:01:39.082Z","2.0.3":"2021-12-28T10:45:57.068Z","2.0.2":"2021-12-27T14:54:04.533Z","2.0.1":"2020-07-30T19:48:15.581Z","2.0.0":"2020-07-27T17:56:41.610Z","2.0.0-beta7":"2020-07-25T14:13:32.883Z","2.0.0-beta6":"2020-07-21T20:04:14.588Z","2.0.0-beta5":"2020-07-21T20:01:46.534Z","2.0.0-beta4":"2020-07-10T17:04:35.311Z","2.0.0-beta3":"2020-07-09T19:51:27.601Z","2.0.0-beta2":"2020-07-09T19:39:25.353Z","2.0.0-beta1":"2020-07-05T17:35:51.938Z","1.2.0":"2020-01-27T21:29:21.767Z","1.1.4":"2018-03-26T20:23:59.209Z","1.1.3":"2018-03-26T20:20:04.252Z","1.1.2":"2018-03-26T20:09:32.907Z","1.1.1":"2018-03-25T12:32:53.656Z","1.1.0":"2018-03-25T12:21:13.108Z","1.0.0":"2017-10-24T20:24:47.732Z","1.0.0-beta.3":"2017-02-19T20:43:03.968Z","1.0.0-beta.2":"2016-12-25T15:46:42.253Z"},"users":{},"author":{"name":"Alexandre Victoor"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"versions":{"3.0.0":{"name":"hdr-histogram-js","version":"3.0.0","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","keywords":["hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance"],"engines":{"node":">=14"},"scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug --exportRuntime","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert --exportRuntime","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@as-pect/cli":"^6.2.4","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.19.21","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","node-notifier":">=8.0.1","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.19.21","base64-js":"^1.2.0","pako":"^1.0.3"},"gitHead":"d55821d524ea4822823eb5167d9b8df98df26acb","bugs":{"url":"https://github.com/HdrHistogram/HdrHistogramJS/issues"},"homepage":"https://github.com/HdrHistogram/HdrHistogramJS#readme","_id":"hdr-histogram-js@3.0.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"8e2d9a68e3313147804c47d85a9c22a93f85e24b","size":206218,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-3.0.0.tgz"},"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_3.0.0_1640689298915_0.00011945539732294286"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-26T15:45:30.179Z","publish_time":1640689299082,"_cnpm_publish_time":1640689299082},"2.0.3":{"name":"hdr-histogram-js","version":"2.0.3","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","keywords":["hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance"],"scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"gitHead":"320a1693cf410ac209a8ad77335622d96105221d","bugs":{"url":"https://github.com/HdrHistogram/HdrHistogramJS/issues"},"homepage":"https://github.com/HdrHistogram/HdrHistogramJS#readme","_id":"hdr-histogram-js@2.0.3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"0b860534655722b6e3f3e7dca7b78867cf43dcb5","size":194800,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.3.tgz"},"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.3_1640688356868_0.46686846958555117"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T11:01:48.087Z","publish_time":1640688357068,"_cnpm_publish_time":1640688357068},"2.0.2":{"name":"hdr-histogram-js","version":"2.0.2","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","keywords":["hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance"],"scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug --exportRuntime","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert --exportRuntime","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@as-pect/cli":"^6.2.4","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.19.21","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","node-notifier":">=8.0.1","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.19.21","base64-js":"^1.2.0","pako":"^1.0.3"},"gitHead":"2530aa934037b7ce5668425d53c251b61bf08c9f","bugs":{"url":"https://github.com/HdrHistogram/HdrHistogramJS/issues"},"homepage":"https://github.com/HdrHistogram/HdrHistogramJS#readme","_id":"hdr-histogram-js@2.0.2","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"shasum":"9fbbb22bc51814a42b4dec22ae851ef6f46ff743","size":206423,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.2.tgz"},"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.2_1640616844338_0.07754564816848242"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T02:00:38.762Z","deprecated":"This version does not work with nodejs@12","publish_time":1640616844533,"_cnpm_publish_time":1640616844533},"2.0.1":{"name":"hdr-histogram-js","version":"2.0.1","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","keywords":["hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance"],"scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.1","dist":{"shasum":"ecb1ff2bcb6181c3e93ff4af9472c28c7e97284e","size":879684,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.1.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.1_1596138495399_0.9088119235629144"},"_hasShrinkwrap":false,"publish_time":1596138495581,"_cnpm_publish_time":1596138495581,"_cnpmcore_publish_time":"2021-12-16T21:08:47.134Z"},"2.0.0":{"name":"hdr-histogram-js","version":"2.0.0","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","keywords":["hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance"],"scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0","dist":{"shasum":"7ee0aa41d9839d0fcf9497e2ed98f863e6bd9918","size":878449,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0_1595872601468_0.33432959409367946"},"_hasShrinkwrap":false,"publish_time":1595872601610,"_cnpm_publish_time":1595872601610,"_cnpmcore_publish_time":"2021-12-16T21:08:50.081Z"},"2.0.0-beta7":{"name":"hdr-histogram-js","version":"2.0.0-beta7","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta7","dist":{"shasum":"c7e8a32fa650fd8c606767ca44fb094c3d3f9bca","size":879554,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta7.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta7.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta7_1595686412688_0.5505545921403636"},"_hasShrinkwrap":false,"publish_time":1595686412883,"_cnpm_publish_time":1595686412883,"_cnpmcore_publish_time":"2021-12-16T21:08:52.055Z"},"2.0.0-beta6":{"name":"hdr-histogram-js","version":"2.0.0-beta6","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta6","dist":{"shasum":"6915d7f797c4447f7c00bd61b9beebe66d084b20","size":879371,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta6.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta6.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta6_1595361854410_0.5011473245835862"},"_hasShrinkwrap":false,"publish_time":1595361854588,"_cnpm_publish_time":1595361854588,"_cnpmcore_publish_time":"2021-12-16T21:08:55.560Z"},"2.0.0-beta5":{"name":"hdr-histogram-js","version":"2.0.0-beta5","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta5","dist":{"shasum":"9482770fb68cf0ab1d40750b1c9de0ae86336d9f","size":879075,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta5.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta5.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta5_1595361706325_0.953269091739376"},"_hasShrinkwrap":false,"publish_time":1595361706534,"_cnpm_publish_time":1595361706534,"_cnpmcore_publish_time":"2021-12-16T21:08:57.195Z"},"2.0.0-beta4":{"name":"hdr-histogram-js","version":"2.0.0-beta4","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta4","dist":{"shasum":"a4cae363ed44ef2ceca19ddff5bec01195df0569","size":873496,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta4.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta4.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta4_1594400675138_0.2823473292451151"},"_hasShrinkwrap":false,"publish_time":1594400675311,"_cnpm_publish_time":1594400675311,"_cnpmcore_publish_time":"2021-12-16T21:08:59.399Z"},"2.0.0-beta3":{"name":"hdr-histogram-js","version":"2.0.0-beta3","description":"TypeScript port of HdrHistogram","main":"dist/index.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta3","dist":{"shasum":"29c7e5be14b76e7ed6f5b4f4cbc29eb67165e747","size":873333,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta3.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta3_1594324287408_0.5646274656443864"},"_hasShrinkwrap":false,"publish_time":1594324287601,"_cnpm_publish_time":1594324287601,"_cnpmcore_publish_time":"2021-12-16T21:09:01.633Z"},"2.0.0-beta2":{"name":"hdr-histogram-js","version":"2.0.0-beta2","description":"TypeScript port of HdrHistogram","main":"dist/hdrhistogram.cjs.js","module":"dist/hdrhistogram.esm.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta2","dist":{"shasum":"3b71355fe85a574721c6f5ecf764e52be64351c5","size":989159,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta2.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta2_1594323565169_0.3063998764172755"},"_hasShrinkwrap":false,"publish_time":1594323565353,"_cnpm_publish_time":1594323565353,"_cnpmcore_publish_time":"2021-12-16T21:09:04.693Z"},"2.0.0-beta1":{"name":"hdr-histogram-js","version":"2.0.0-beta1","description":"TypeScript port of HdrHistogram","main":"dist/index.js","module":"dist/hdrhistogram.esm.js","browser":"dist/hdrhistogram.umd.js","types":"dist/index.d.ts","scripts":{"tsc":"tsc --skipLibCheck --outDir dist --declaration true --sourceMap true","test":"jest","build":"npm run tsc && npm run rollup","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts","astest":"asp --verbose","astest:ci":"asp --summary","asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap -O3 --noAssert","asbuild:base64":"echo \"/** @internal */\nexport const BINARY = \\\"$(node ./base64.js build/optimized.wasm)\\\";\" > src/wasm/generated-wasm.ts","asbuild":"npm run asbuild:untouched && npm run asbuild:optimized && npm run asbuild:base64","rollup":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@as-pect/cli":"^4.0.0","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"7.0.0","assemblyscript":"^0.12","benchmark":"^2.1.4","benny":"^3.6.14","fast-check":"^1.1.1","jest":"25.1.x","prettier":"^1.6.1","rollup":"^2.8.2","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript":"^1.0.1","ts-jest":"25.0.x","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","yargs":"^6.4.0"},"dependencies":{"@assemblyscript/loader":"^0.10.1","base64-js":"^1.2.0","pako":"^1.0.3"},"readmeFilename":"README.md","licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@2.0.0-beta1","dist":{"shasum":"742280624bc651410a989d13a03ec03b07a341b8","size":1046354,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-2.0.0-beta1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-2.0.0-beta1.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_2.0.0-beta1_1593970551776_0.1204661957266615"},"_hasShrinkwrap":false,"publish_time":1593970551938,"_cnpm_publish_time":1593970551938,"_cnpmcore_publish_time":"2021-12-16T21:09:08.588Z"},"1.2.0":{"name":"hdr-histogram-js","version":"1.2.0","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","build":"yarn tsc && webpack --debug && webpack -p","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@types/benchmark":"^1.0.31","@types/chai":"^3.4.34","@types/mocha":"^5.2.0","@types/node":"7.0.0","benchmark":"^2.1.4","benny":"^3.6.14","chai":"^3.5.0","core-js":"^2.4.1","fast-check":"^1.1.1","mocha":"^5.2.0","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^3.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@1.2.0","dist":{"shasum":"1213c0b317f39b9c05bc4f208cb7931dbbc192ae","size":358472,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.2.0.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.2.0_1580160561559_0.4473383492045435"},"_hasShrinkwrap":false,"publish_time":1580160561767,"_cnpm_publish_time":1580160561767,"_cnpmcore_publish_time":"2021-12-16T21:09:10.637Z"},"1.1.4":{"name":"hdr-histogram-js","version":"1.1.4","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","jsverify":"^0.8.3","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^2.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":[".","dist"],"_id":"hdr-histogram-js@1.1.4","dist":{"shasum":"74134025d1ae1cfef5d7f1127eb7560de2a0a773","size":243354,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.1.4.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.1.4_1522095839084_0.6437924175488783"},"_hasShrinkwrap":false,"publish_time":1522095839209,"_cnpm_publish_time":1522095839209,"_cnpmcore_publish_time":"2021-12-16T21:09:11.415Z"},"1.1.3":{"name":"hdr-histogram-js","version":"1.1.3","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","jsverify":"^0.8.3","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^2.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"_id":"hdr-histogram-js@1.1.3","dist":{"shasum":"75b5833579e58e697b350d25902827373eaaeb6c","size":121364,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.1.3.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.1.3_1522095604141_0.09105827525232635"},"_hasShrinkwrap":false,"publish_time":1522095604252,"_cnpm_publish_time":1522095604252,"_cnpmcore_publish_time":"2021-12-16T21:09:11.900Z"},"1.1.2":{"name":"hdr-histogram-js","version":"1.1.2","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD-2-Clause","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","jsverify":"^0.8.3","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^2.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"licenseText":"BSD 2-Clause License\n\nCopyright (c) 2016, Alexandre Victoor\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"hdr-histogram-js@1.1.2","dist":{"shasum":"c7130a1e788583de4d4d867e97f33c745dcc1dab","size":122431,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.1.2.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.1.2_1522094972564_0.16429755846783567"},"_hasShrinkwrap":false,"publish_time":1522094972907,"_cnpm_publish_time":1522094972907,"_cnpmcore_publish_time":"2021-12-16T21:09:12.885Z"},"1.1.1":{"name":"hdr-histogram-js","version":"1.1.1","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","jsverify":"^0.8.3","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^2.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"_id":"hdr-histogram-js@1.1.1","dist":{"shasum":"6b7ffac81cd2b980c21aaa0a99c8c4107df9a971","size":121360,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.1.1.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.1.1_1521981173560_0.4145523355113945"},"_hasShrinkwrap":false,"publish_time":1521981173656,"_cnpm_publish_time":1521981173656,"_cnpmcore_publish_time":"2021-12-16T21:09:13.346Z"},"1.1.0":{"name":"hdr-histogram-js","version":"1.1.0","description":"TypeScript port of HdrHistogram","main":"./index.js","types":"./index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","test:stryker":"stryker run","prepare-publish":"tsc --outDir . --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","jsverify":"^0.8.3","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","stryker":"^0.19.3","stryker-api":"^0.13.0","stryker-html-reporter":"^0.12.1","stryker-mocha-runner":"^0.10.5","stryker-typescript":"^0.9.1","ts-loader":"^3.5.0","ts-node":"^5.0.1","typescript":"^2.7.1","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"_id":"hdr-histogram-js@1.1.0","dist":{"shasum":"ff3787ba2ab05265782b31a35789566fce753585","size":117635,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.1.0.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js_1.1.0_1521980472983_0.7525147836452628"},"_hasShrinkwrap":false,"publish_time":1521980473108,"_cnpm_publish_time":1521980473108,"_cnpmcore_publish_time":"2021-12-16T21:09:13.821Z"},"1.0.0":{"name":"hdr-histogram-js","version":"1.0.0","description":"TypeScript port of HdrHistogram","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"tsc":"tsc --outDir dist","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","prepublish":"tsc --outDir dist --declaration true --sourceMap true && webpack --debug && webpack -p","prettier":"prettier --parser typescript -l src/**/*.ts","prettier:fix":"prettier --write --parser typescript -l src/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/HdrHistogram/HdrHistogramJS.git"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.37","@types/node":"7.0.0","chai":"^3.5.0","core-js":"^2.4.1","mocha":"^3.0.2","nyc":"^8.4.0","prettier":"^1.6.1","ts-loader":"^2.3.2","ts-node":"^3.3.0","typescript":"^2.2.2","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"gitHead":"5c866110c451230d21b818805c155dc0af10bbca","bugs":{"url":"https://github.com/HdrHistogram/HdrHistogramJS/issues"},"homepage":"https://github.com/HdrHistogram/HdrHistogramJS#readme","_id":"hdr-histogram-js@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"dist":{"shasum":"781615e5820c676908f9c61029bd946352a5d4b0","size":185492,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.0.0.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hdr-histogram-js-1.0.0.tgz_1508876686437_0.9938986341003329"},"directories":{},"publish_time":1508876687732,"_hasShrinkwrap":false,"_cnpm_publish_time":1508876687732,"_cnpmcore_publish_time":"2021-12-16T21:09:14.330Z"},"1.0.0-beta.3":{"name":"hdr-histogram-js","version":"1.0.0-beta.3","description":"TypeScript port of HdrHistogram","main":"./dist/hdrhistogram.js","types":"./dist/index.d.ts","scripts":{"tsc":"tsc","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","prepublish":"webpack --debug && webpack -p"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/core-js":"^0.9.35","@types/mocha":"^2.2.37","@types/node":"^7.0.0","chai":"^3.5.0","core-js":"^2.4.1","mocha":"^3.0.2","nyc":"^8.4.0","ts-loader":"^1.3.3","ts-node":"^2.0.0","typescript":"2.1.5","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"gitHead":"df295320304a233b8bcd81c94d4cac3b3a392bfa","_id":"hdr-histogram-js@1.0.0-beta.3","_shasum":"9c917d1afe4fa625ba355e4227a45ed07e7ec046","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.7.0","_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"dist":{"shasum":"9c917d1afe4fa625ba355e4227a45ed07e7ec046","size":128041,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.0.0-beta.3.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hdr-histogram-js-1.0.0-beta.3.tgz_1487536981831_0.8008064066525549"},"directories":{},"publish_time":1487536983968,"_hasShrinkwrap":false,"_cnpm_publish_time":1487536983968,"_cnpmcore_publish_time":"2021-12-16T21:09:15.325Z"},"1.0.0-beta.2":{"name":"hdr-histogram-js","version":"1.0.0-beta.2","description":"TypeScript port of HdrHistogram","main":"./dist/hdrhistogram.js","types":"./dist/index.d.ts","scripts":{"tsc":"tsc","test":"mocha --opts mocha.opts --watch","test:coverage":"nyc mocha --opts mocha.opts","prepublish":"webpack --debug && webpack -p"},"author":{"name":"Alexandre Victoor"},"license":"BSD","devDependencies":{"@types/chai":"^3.4.34","@types/core-js":"^0.9.34","@types/mocha":"^2.2.32","chai":"^3.5.0","core-js":"^2.4.1","mocha":"^3.0.2","nyc":"^8.4.0","ts-loader":"^1.2.2","ts-node":"^1.4.1","typescript":"^2.0.10","webpack":"^1.13.3","yargs":"^6.4.0"},"nyc":{"include":["src/**/*.ts"],"exclude":["node_modules/","dist/","src/**/*.spec.ts"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","json","html"],"all":true},"dependencies":{"base64-js":"^1.2.0","pako":"^1.0.3"},"files":["dist"],"gitHead":"c0ea61dad2f312939e6d8a39488740370c127b44","_id":"hdr-histogram-js@1.0.0-beta.2","_shasum":"4b5f7d9aae6fcccf9194f8282418c6820ff33400","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.7.0","_npmUser":{"name":"alexvictoor","email":"alexvictoor@gmail.com"},"dist":{"shasum":"4b5f7d9aae6fcccf9194f8282418c6820ff33400","size":112685,"noattachment":false,"key":"/hdr-histogram-js/-/hdr-histogram-js-1.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hdr-histogram-js/download/hdr-histogram-js-1.0.0-beta.2.tgz"},"maintainers":[{"name":"alexvictoor","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/hdr-histogram-js-1.0.0-beta.2.tgz_1482680801525_0.7546974446158856"},"directories":{},"publish_time":1482680802253,"_hasShrinkwrap":false,"_cnpm_publish_time":1482680802253,"_cnpmcore_publish_time":"2021-12-16T21:09:16.161Z"}},"readme":"[![Build Status](https://travis-ci.org/HdrHistogram/HdrHistogramJS.svg?branch=master)](https://travis-ci.org/HdrHistogram/HdrHistogramJS)\n\n# HdrHistogramJS\n\nTypeScript port of HdrHistogram for NodeJS and web browsers.  \nSince version 2, HdrHistogramJS comes in 2 flavors: the good old TypeScript implementation and a brand new WebAssembly implementation!  \nThis new WebAssembly implementation leverages on AssemblyScript to bring a significant performance boost. Since some caution must be taken using this WebAssembly implementation it is not enabled by default.  \nCheck out the [WebAssembly section](#boosting-performances-with-webassembly-since-hdrhistogramjs-v2) for more details on this topic.  \nMost features from original Java HdrHistogram implementation are implemented, including the following ones:\n\n- regular latency recording\n- latency recording with coordinated omissions correction\n- resizable bucket based histograms\n- memory optimized packed histograms\n- add and substract histograms\n- encoding and decoding compressed histograms\n\n# Dataviz\n\nHdrHistogramJS allows to display histograms without server-side processing. Hence, within your browser, you can:\n\n- Display histograms with this slightly modified version of the [hdrhistogram plotter](https://hdrhistogram.github.io/HdrHistogramJSDemo/plotFiles.html). With this one you can use base64 v2 encoded histograms as inputs.\n- Analyze log files with this [log analyzer](https://hdrhistogram.github.io/HdrHistogramJSDemo/logparser.html), inspired from the original [java/swing based log analyzer](https://github.com/HdrHistogram/HistogramLogAnalyzer).\n\n# Getting started\n\nThis library is packaged as a UMD module, hence you can use it directly\nfrom JavaScript within a browser. To do so, you can simply include HdrHistogramJS file from github's release page:\n\n```html\n<script src=\"https://github.com/HdrHistogram/HdrHistogramJS/releases/download/v2.0.1/hdrhistogram.umd.js\"></script>\n```\n\nThen you will have access to classes and functions of the APIs using \"hdr\" prefix.\n\nYou can also use HdrHistogramJS as a commonjs NodeJS module.\nUsing npm you can get HdrHIstogramJS with the following command:\n\n```sh\n  npm i hdr-histogram-js\n```\n\nOr if you like yarn better:\n\n```sh\n  yarn add hdr-histogram-js\n```\n\nNote for TypeScript developers: since HdrHistogramJS has been written in TypeScript, definition files are embedded, no additional task is needed to get them.\n\n# API\n\nThe examples below use ES6 syntax. You can check out demo sources\nfor examples on how to use HdrHistogram directly within a browser, you should\nnot have any surprise though.\n\n## Instantiate an histogram\n\nHdrHistogramJS provides several histogram implementations. The simplest way to get a new histogram instance is to use the _build()_ function. Here is how to use it:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst histogram = hdr.build();\n```\n\nIf you need more control on the memory footprint of the instantiated histogram, you can be more specific using and optionnal build request parameter:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst histogram\n  = hdr.build(\n    {\n      bitBucketSize: 32,                // may be 8, 16, 32, 64 or 'packed'\n      autoResize: true,                 // default value is true\n      lowestDiscernibleValue: 1,        // default value is also 1\n      highestTrackableValue: 2,         // can increase up to Number.MAX_SAFE_INTEGER\n      numberOfSignificantValueDigits: 3 // Number between 1 and 5 (inclusive)\n      useWebAssembly: false             // default value is false, see WebAssembly section for details\n    }\n  );\n\n```\n\nBitBucketSize 'packed' options is available since HdrHistogramJS v1.2 . Like the Java packed implementation, it has a very low memory footprint but it is way slower than regular bucket based implementation.\n\n## Record values and retrieve metrics\n\nOnce you have an histogram instance, in order to record a value you just need\nto call method recordValue() as below:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\nconst histogram = hdr.build();\n...\nconst latency = 1234;\nhistogram.recordValue(latency);\n```\n\nThe number passed as a parameter is expected to be an integer. If it is not the case, the decimal part will be ignored.\n\nOnce you have recorded some values, you can get min, max, median values and of course percentiles values as shown below:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst h = hdr.build();\nh.recordValue(123);\nh.recordValue(122);\nh.recordValue(1244);\n\nconsole.log(h.minNonZeroValue);           // 122\nconsole.log(h.maxValue);                  // 1244\nconsole.log(h.mean);                      // 486.333...\nconsole.log(h.getValueAtPercentile(90));  // 1244 as well\nconsole.log(h.summary);                   // { \"p50\": 123, ... , max: 1244, totalCount: 3 }\n```\n\nIf youn need a live example you can also take alook at this [simple ping demo](https://hdrhistogram.github.io/HdrHistogramJSDemo/ping-demo.html) or this [HdrHistogramJS on HdrHistogramJS demo](https://hdrhistogram.github.io/HdrHistogramJSDemo/hdr-on-hdr.html).\n\nYou can also very easily generate a textual\nrepresentation of an histogram:\n\n```ts\nconsole.log(`Statistics ${h}`);\n\n// output will be:\n//\n// Statistics Histogram 32b {\n//  \"p50\": 123,\n//  \"p75\": 1240,\n//  \"p90\": 1240,\n//  \"p97_5\": 1240,\n//  \"p99\": 1240,\n//  \"p99_9\": 1240,\n//  \"p99_99\": 1240,\n//  \"p99_999\": 1240,\n//  \"max\": 1244,\n//  \"totalCount\": 3\n// }\n\n```\n\nYou can also general an exhaustive textual representation similar to the one generated by the original Java HdrHistogram implementation:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst histogram = hdr.build();\nhistogram.recordValue(25);\nhistogram.recordValue(50);\nhistogram.recordValue(75);\nconst output = histogram.outputPercentileDistribution();\n\n// output will be:\n//\n//       Value     Percentile TotalCount 1/(1-Percentile)\n//\n//      25.000 0.000000000000          1           1.00\n//  ...\n//      75.000 0.700000000000          3           3.33\n//      75.000 1.000000000000          3\n//#[Mean    =       50.000, StdDeviation   =       20.412]\n//#[Max     =       75.000, Total count    =            3]\n//#[Buckets =           43, SubBuckets     =         2048]\n\n```\n\n## Dealing with coordinated omissions\n\nIf you are recording values at a fixed rate,\nyou can correct coordinated omissions while recording values:\n\n```ts\nhistogram.recordValueWithExpectedInterval(1234, 100);\n```\n\nIf you prefer to apply correction afterward:\n\n```ts\nconst correctedHistogram\n  = histogram.copyCorrectedForCoordinatedOmission(100);\n```\n\n## Boosting performances with WebAssembly\n\nSince version 2, HdrHistogramJS leverages on WebAssembly to speed up computations. Depending on the use case, the performance boost can be as high as twice as fast :)  \nEverything has been done to make your life easier when using HdrHistogramJS WebAssembly implementation, but since the usage a little bit different WebAssembly is not enabled by default.  \nTo benefit from WebAssembly performance boost, there are three things to take care of:\n\n- Bootstrap the HdrHistogramJS WebAssembly module at application startup\n- Build a WebAssembly histogram setting the useWebAssembly flag to true\n- Explicitely ask to free up memory by calling _histogram.destroy()_ once an histogram is not needed anymore.\n\nEven if under the cover a WebAssembly histogram is very different from a regular JS based histogram, both provide exactly the same interface.  \nThe code fragment below shows how to instantiate a resizable 32 bits WebAssembly histogram:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\n// If you are on the browser side, you need to\n// load asynchronously HdrHistogramJS WASM module\nawait hdr.initWebAssembly();\n\n// If you are on the server side, you can\n// load synchronously HdrHistogramJS WASM module\nhdr.initWebAssemblySync();\n\nconst histogram = hdr.build({ useWebAssembly: true });\n\n// you can now use your histogram the same way you would do\n// with a regular \"JS histogram\"\nhistogram.recordValue(42);\nconsole.log(histogram.outputPercentileDistribution());\n\n// free up memory once the histogram is not needed anymore,\n// otherwise WebAssembly memory footprint will keep growing\n// each time an histogram is created\nhistogram.destroy();\n\n```\n\nNote: If you want to use this feature on the browser side, along with the UMD package, you need to add external dependency\n\"pako\". \"pako\" is mandatory to bootstrap the WASM module which is compressed to save some weight.\n\n## Encode & decode\n\nYou can encode and decode base64 compressed histograms. Hence you can decode base64 compressed histograms produced by other implementations of HdrHistogram (Java, C#, Rust, ...).  \nThe code fragment below shows how to encode an histogram:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst histogram = hdr.build();\nhistogram.recordvalue(42);\nconst encodedString = hdr.encodeIntoCompressedBase64(histogram);\n// gives something that looks like \"HISTFAAAAB542pNpmSzMwMDAxAABzFCaEUoz2X+AMIKZAEARAtM=\"\n```\n\nThen to decode an histogram you can use this chunk of code:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst encodedString = \"HISTFAAAAB542pNpmSzMwMDAxAABzFCaEUoz2X+AMIKZAEARAtM=\";\nconst histogram = hdr.decodeFromCompressedBase64(encodedString);\n```\n\nIn the above code fragment, 'histogram' is a regular 32b bucket histogram. Other types of histograms can be specified using additionnal parameters. Below a code fragment where a WebAssembly packed histogram is used:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nconst encodedString = \"HISTFAAAAB542pNpmSzMwMDAxAABzFCaEUoz2X+AMIKZAEARAtM=\";\nconst histogram = hdr.decodeFromCompressedBase64(encodedString, 'packed', true);\n```\n\nIf you want to use this feature along with the UMD package, you need to add external dependency\n\"pako\". \"pako\" is used for zlib compression. Using npm you should get\nit as a transitive dependency, otherwise you need to add it in\nyour html page.\n\nYou can check out [this demo](https://hdrhistogram.github.io/HdrHistogramJSDemo/decoding-demo.html) or this [plotter on steroid](https://hdrhistogram.github.io/HdrHistogramJSDemo/plotFiles.html) to see this feature live!  \n_Be aware that only latest V2 encoding has been implemented, please raise a github issue if you need to see other versions implemented_\n\n## Histogram logs\n\nHistogramLogWriter and HistogramLogReader classes have been migrated and the API is quite similar to the one you might have used with the Java version.\nBelow a simple usage example of the HistogramLogWriter, where the log contents are appended to a string variable:\n\n```ts\nimport * as hdr from \"hdr-histogram-js\"\n\nlet buffer: string;\nconst writer = new hdr.HistogramLogWriter(content => {\n  buffer += content;\n});\nconst histogram = hdr.build();\nhistogram.startTimeStampMsec = 1234001;\nhistogram.endTimeStampMsec   = 1235123;\n\n...\n\nhistogram.recordValue(123000);\n\nwriter.outputLogFormatVersion();\nwriter.outputLegend();\nwriter.outputIntervalHistogram(histogram);\n```\n\nAs for the reading part, if you know a little bit the Java version, the following code fragment will sound familiar:\n\n```ts\nconst reader = new hdr.HistogramLogReader(fileContent);\nlet histogram;\nwhile ((histogram = reader.nextIntervalHistogram()) != null) {\n  // iterate on all histogram log lines\n  ...\n\n}\n```\n\n# Performance tips\n\nHdrHistogramJS stores values in memory buckets. Memory footprint of an histogram heavily depends on 3 things:\n\n- the bucket size. A bucket can take 8, 16, 32 or 64 bits of memory. 32 bits buckets is the default.\n- the precision of the histogram (i.e. the number of significant value digits). You can have up to 5 value digits, 3 value digits (default) should be enough for most use cases.\n- the allowed range of values. You can tunned this range with constructor/builder parameters _lowestDiscernibleValue_ and _highestTrackableValue_. If you are not sure of these values, the best option is to use flag _autoResize_, set to true by default.\n\nWhile tunning memory footprint, _estimatedFootprintInBytes_ histogram property can get quite useful since it gives you a clear indicator of the memory cost:\n\n```ts\nconst histogram = hdr.build();\nconsole.log(histogram.estimatedFootprintInBytes);\n```\n\nIf in your context saving memory is more important than saving CPU cycles, 'packed' bucket size is highly recommended. Available since HdrHistogramJS v1.2.0, this mode enables a very effective memory compression algorithm:\n\n```ts\nconst histogram = hdr.build({ bitBucketSize: \"packed\" });\nconsole.log(histogram.estimatedFootprintInBytes);\n```\n\nLast but not least, unless you are targetting very old browsers or a very old NodeJS version, you should turn on WebAssembly mode. Available since HdrHistogramJS v2.0.0, this mode is often twice as fast as regular JS mode. Also all bucket size options are available with WebAssembly, including 'packed':\n\n```ts\nconst histogram = hdr.build({ bitBucketSize: \"packed\", useWebAssembly: true });\nconsole.log(histogram.estimatedFootprintInBytes);\n```\n\n# Tree Shaking\n\nThe above examples use a convenient 'barrel' index file. Using this barrel, you cannot leverage on the tree shaking features of your favorite bundler. Hence the size of your JavaScript bundle may increase significantly. If you need to optimize the size of your bundle, you can import HdrHistogram modules as shown in code fragment below:\n\n```ts\nimport Int32Histogram from \"hdr-histogram-js/dist/Int32Histogram\"\n\nconst histogram = new Int32Histogram(1, 2, 3);\nhistogram.autoResize = true;\n\nhistogram.recordValue(...);\n\n```\n\n# Migrating from v1 to v2\n\nFor most users, migration from HdrHistogramJS v1 to v2 should be smooth. However since HdrHistogramJS v2 does not stick anymore with HdrHistogram Java API, you might run into some breaking changes.  \nPrior to v2, _hdr.build()_ was returning an _AbstractHistogram_ instance. _AbstractHistogram_ does not exist anymore and has been replaced by the _Histogram_ interface. Most methods from _AbstractHistogram_ still exist in new interface _Histogram_, however in order to have a more JS idiomatic API, getter methods such as _getMean()_ or _getTotalCount()_ have been replaced by JS properties:\n\n```ts\n// HdrHistogramJS v1\nconst histogram: AbstractHistogram = hdr.build();\nconst statistics = {\n  count: histogram.getTotalCount(),\n  mean: histogram.getMean(),\n  p99: histogram.getValueAtPercentile(99),\n}\n\n// becomes with HdrHistogramJS v2\nconst histogram: Histogram = hdr.build();\nconst statistics = {\n  count: histogram.totalCount,\n  mean: histogram.mean,\n  p99: histogram.getValueAtPercentile(99),\n}\n```\n\nModule paths also change a little bit with v2. Hence if you were importing specific modules as described in the tree shaking section, you need to change a little bit your code as below:\n\n```ts\n// HdrHistogramJS v1\nimport AbstractHistogram from \"hdr-histogram-js/AbstractHistogram\"\nimport Int32Histogram from \"hdr-histogram-js/Int32Histogram\"\n\n// becomes with HdrHistogramJS v2\nimport Histogram from \"hdr-histogram-js/dist/Histogram\"\nimport Int32Histogram from \"hdr-histogram-js/dist/Int32Histogram\"\n```\n\n# Design & Limitations\n\nThe code is almost a direct port of the Java version.\nOptimisation based on inheritance to avoid false sharing\nmight not be relevant in JS, but I believe that keeping\nthe same code structure might be handy to keep the code up to date\nwith the Java version in the future.\n\nMain limitations comes from number support in JavaScript.\nThere is no such thing as 64b integers in JavaScript. Everything is \"number\",\nand a number is safe as an integer up to 2^53.  \nThe most annoying issue encountered during the code migration,\nis that bit operations, heavily used within original HdrHistogram,\nonly work on the first 32 bits. That means that the following JavaScript expression is evaluated as true:\n\n```ts\nMath.pow(2, 31) << 1 === 0   // sad but true\n```\n\nAnyway bit shift operations are not really optimized\nin most browser, so... everything related to bits have been\nconverted to good old arithmetic expressions in the process\nof converting the Java code to TypeScript.  \nWith WebAssembly and AssemblyScript things are different. HdrHistogramsJS AssemblyScript source code is closer to the original Java code since all the limitations mentioned above does not apply to WebAssembly :)\n","_attachments":{},"homepage":"https://github.com/HdrHistogram/HdrHistogramJS#readme","bugs":{"url":"https://github.com/HdrHistogram/HdrHistogramJS/issues"},"license":"BSD"}