New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

click-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

click-heatmap

> Generate simple screenshots of a web pages with heat map overlay of recorded user clicks.

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

click-heatmap

Generate simple screenshots of a web pages with heat map overlay of recorded user clicks.

Screenshot

Usage

click-heatmap http://localhost:3000 < data.json > final-image.png

Or if you have an analytics API:

curl -L http://localhost:3000/analytics/sessions/123 | click-heatmap http://localhost:3000 > final-image.png

Install

yarn global add click-heatmap

Requires Cairo for node-canvas to work. See this document for installation.

Expects data from stdin in this JSON format:

{
  "meta": {
    "innerWidth": 1680,
    "innerHeight": 1050
  },
  "results": [
    [100, 100],
    [200, 200],
    [300, 300]
  ]
}

The program does not record the actual clicks. That data must be provided from elsewhere.

License

MIT

FAQs

Package last updated on 03 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc