You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

heatmap-pkg

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heatmap-pkg - npm Package Compare versions

Comparing version

to
1.0.1

9

package.json
{
"name": "heatmap-pkg",
"version": "1.0.0",
"version": "1.0.1",
"description": "A package for heatmaps on node.js and the browser",

@@ -13,3 +13,8 @@ "main": "index.js",

"color-convert": "^2.0.1"
}
},
"keywords": [
"heatmap",
"browser",
"canvas"
]
}

@@ -33,7 +33,9 @@ # Heatmap

## var heat = heatmap(...)
## var heat = new Heatmap(...)
Create a new heatmap from an existing canvas element, a numeric width and
height, or an option object with canvas or width and height fields.
There are _two_ ways of creating a new heatmap:
- With the id of the target canvas element
- With the height and width values for the canvas element to be created
Optionally, you can set the `opts.radius` and `opts.threshold` to control the

@@ -46,3 +48,3 @@ rendering a little.

`params` can have:
`params` must be an object and can have:

@@ -71,4 +73,8 @@ - radius, defaults to heat.radius || 20

With [npm](http://npmjs.org), just do:
With [npm](https://npmjs.org), just do:
npm install heatmap
npm install heatmap-pkg
Or with [yarn](https://yarnpkg.com):
yarn add heatmap-pkg