{"_id":"simpleheat","_rev":"8-02f4bc65e64bb8280aeee60887985a64","name":"simpleheat","description":"A tiny JavaScript library for drawing heatmaps with Canvas","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.1":{"name":"simpleheat","version":"0.0.1","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"jshint ."},"jshintConfig":{"quotmark":"single","strict":true,"trailing":true},"bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.0.1","dist":{"shasum":"a120260a626790ffbfa39813db3379aeb1a55ba9","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.0.1.tgz","integrity":"sha512-q2f4MoNUP4k6ih1wZkaWLi/VOw0WHzXwr/QMPxfgRciDhNRMKTlO2FPCuZBUgZoaDP0a6PuiHHY03xw/w/W8wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/sW6uRaf8uh/JP8p4I1t0ykhlBncOtDRva+WmwXr/nAIhAI9lMT7yOqqm69z2x237VFuTq5LD4rIoy6eiENl2Ez7Y"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"0.1.0":{"name":"simpleheat","version":"0.1.0","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"jshint ."},"jshintConfig":{"quotmark":"single","strict":true,"trailing":true},"bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.1.0","dist":{"shasum":"1a728bd23d1e2e165c6d9dfb63171ae2760f951a","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.1.0.tgz","integrity":"sha512-+sIe3tNXX317TpT23uSrb3OKCiVzRVm/cuhqpU6sPXXIJl0OjWa9ccxKo5KmC4gNX5fPp9PuHQ4Tzs5POCNfQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWsKOOOtWF2a9MzPWpIZv1Zj+nTENlZ0pFly7ZjVdY0AIhAIYWXhfQEirHIVzf2qETKz0hMPNRCtIVmF08RY4vdGQY"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"0.1.1":{"name":"simpleheat","version":"0.1.1","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"jshint ."},"jshintConfig":{"quotmark":"single","strict":true,"trailing":true},"bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.1.1","dist":{"shasum":"91087d9c43477b4973a0583c79cb5d4184ab8291","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.1.1.tgz","integrity":"sha512-ocFg3oGkSnWKXBE6xGfDrZqHbS9zQOuea9Ze5glDb4vXiBucDSdn/joABXZiO7W88pOabSF6rmtzQp6tUy1VgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/AB6vV7pYAW4VLl2zBwew1Ou7xLsJJF6/VEw44PsZ3wIgaGghpfMWc0fcLQgrs49sce7rhoR8lh/MROwPq79V97k="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"directories":{}},"0.2.0":{"name":"simpleheat","version":"0.2.0","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"jshint ."},"jshintConfig":{"quotmark":"single","strict":true,"trailing":true},"bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.2.0","dist":{"shasum":"43eb9f8ca44ffe4691208225d17d73bcdcb61158","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.2.0.tgz","integrity":"sha512-0e4sfQQmUGrSDpnytGaz2Kj/iLCz4CQZ7JxjITVpX9fX5SpFk8Ue/628Kxy2wSN4DkBaRsSnlZoAaSau5wEkzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCojNtYDmyTX4XRMTAV6x6V0dfNviEbjzCqwj4dlZc+xwIhAPv2/wBRVNLFGs1kA9nF9ua+LVubDg/CUc20ZMsOM9l5"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}]},"0.3.0":{"name":"simpleheat","version":"0.3.0","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"eslint simpleheat.js"},"devDependencies":{"eslint":"^1.7.3","eslint-config-mourner":"^1.0.1"},"eslintConfig":{"extends":"mourner","rules":{"new-cap":0}},"license":"BSD-2-Clause","gitHead":"b2117b41678f1b61a882c292057e4bc87fb676ff","bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.3.0","_shasum":"0c385062e290e06f66d0d5efe5b3dad53971f438","_from":".","_npmVersion":"2.14.4","_nodeVersion":"0.12.7","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"dist":{"shasum":"0c385062e290e06f66d0d5efe5b3dad53971f438","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.3.0.tgz","integrity":"sha512-hAiZyUQz16CmyBgIJEOkJBCEzMgSruN0wDbPfDHbqnB7p0uFQ8uyaL1GizrJDzQUTtxYSTmpUMIODeRq32K/Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDil47T/eUsPSN7j3JREZVEVyQqAhkIHrbCZGDlXpPpXgIhAJZBtcMtq7YZHmhFgihaPo3LDThSoYtuPkgNNnEFALW0"}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}]},"0.4.0":{"name":"simpleheat","version":"0.4.0","description":"A tiny JavaScript library for drawing heatmaps with Canvas","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"author":{"name":"Vladimir Agafonkin"},"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"main":"simpleheat.js","scripts":{"test":"eslint simpleheat.js"},"devDependencies":{"eslint":"^3.13.1","eslint-config-mourner":"^2.0.1"},"eslintConfig":{"extends":"mourner","rules":{"new-cap":0,"consistent-return":0}},"license":"BSD-2-Clause","gitHead":"2332b1e22c96e3e9d90827bc07952d03abd26b85","bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"_id":"simpleheat@0.4.0","_shasum":"e2de8d4548fcf1a6960b636bfa939d05bcd49a7b","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"mourner","email":"agafonkin@gmail.com"},"dist":{"shasum":"e2de8d4548fcf1a6960b636bfa939d05bcd49a7b","tarball":"https://registry.npmjs.org/simpleheat/-/simpleheat-0.4.0.tgz","integrity":"sha512-tdg3I1NvzMdPKscWBrHbF0LBf+VWuBBazzGUPtFJjG5Q12VQX6gPY8jLy9hx5CbgAIVc5nfnePwJvAYK6z1rAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2bCVRWrSIIAiRzCBYRK1dpK1bSmFCRbt7w0ArZWh5vAiBGN6FxzxUk0FLBv/eqcKHdA1Ai5yKY8pro4iYgiQ1/0A=="}]},"maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simpleheat-0.4.0.tgz_1484844478956_0.7843206638935953"}}},"readme":"simpleheat\n==========\n\nA super-tiny JavaScript library for drawing heatmaps with Canvas.\nInspired by [heatmap.js](https://github.com/pa7/heatmap.js), but with focus on simplicity and performance.\n\nPowers [Leaflet.heat](https://github.com/Leaflet/Leaflet.heat), a heatmap plugin for [Leaflet](http://leafletjs.com).\n\nDemo: http://mourner.github.io/simpleheat/demo\n\n```js\nsimpleheat('canvas').data(data).draw();\n```\n\n## Reference\n\n#### Constructor\n\n```js\n// create a simpleheat object given an id or canvas reference\nvar heat = simpleheat(canvas);\n```\n\n#### Data\n\n```js\n// set data of [[x, y, value], ...] format\nheat.data(data);\n\n// set max data value (1 by default)\nheat.max(max);\n\n// add a data point\nheat.add(point);\n\n// clear data\nheat.clear();\n```\n\n#### Appearance\n\n```js\n// set point radius and blur radius (25 and 15 by default)\nheat.radius(r, r2);\n\n// set gradient colors as {<stop>: '<color>'}, e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}\nheat.gradient(grad);\n\n// call in case Canvas size changed\nheat.resize();\n```\n\n#### Rendering\n\n```js\n// draw the heatmap with optional minimum point opacity (0.05 by default)\nheat.draw(minOpacity);\n```\n","maintainers":[{"name":"mourner","email":"agafonkin@gmail.com"}],"time":{"modified":"2022-06-26T20:02:15.896Z","created":"2014-01-28T14:31:29.911Z","0.0.1":"2014-01-28T14:31:29.911Z","0.1.0":"2014-01-28T17:22:18.189Z","0.1.1":"2014-01-28T21:26:29.868Z","0.2.0":"2014-01-31T16:01:50.852Z","0.3.0":"2015-10-26T15:50:40.429Z","0.4.0":"2017-01-19T16:48:01.002Z"},"readmeFilename":"README.md","homepage":"https://github.com/mourner/simpleheat","keywords":["heatmap","canvas","visualization"],"repository":{"type":"git","url":"git://github.com/mourner/simpleheat.git"},"author":{"name":"Vladimir Agafonkin"},"bugs":{"url":"https://github.com/mourner/simpleheat/issues"},"license":"BSD-2-Clause"}