{"repo":"macbre/phantomas","free":true,"listed":false,"github":"https://github.com/macbre/phantomas","clone":"git clone https://github.com/macbre/phantomas.git","description":"Headless Chromium-based web performance metrics collector and monitoring tool","language":"JavaScript","stars":2260,"topics":["phantomas","metrics","javascript","css","webperf","dom","domquery","jquery","webperformance","developer-tools"],"license":"BSD-2-Clause","category":"analytics","readme_excerpt":"phantomas ========= Headless Chromium-based modular web performance metrics collector. And why phantomas? Well, because :) Requirements NodeJS 16+ Installation Via npm This will install a recent version of Chromium supported by puppeteer module. Via Docker You can use phantomas Docker image: Or you can fetch from GitHub's Containers registry Support You can get support for phantomas via xs:code. Usage example Or run ./examples/index.js . Development version To get the latest development version of phantomas (and install all required dependencies): Running tests First you need to start a local nginx container that will serve static assets used by integration tests suite. Then simply run npm t : All pull requests that are filed for this repository will have tests run via GitHub Actions. Having problems? Please refer to /Troubleshooting.md Features modular approach - each metric is generated by a separate \"module\" phantomas \"core\" acts as an events emitter that each module can hook into in-depth metrics such as: number of events bound via jQuery, calls to window.write or complex and duplicated CSS selectors (via analyze-css) JSON as an output format easy integration with other nodejs projects via CommonJS module (see API docs) metrics can be emitted from JavaScript code of the page phantomas is run against (thanks to helper functions available in window. phantomas) device profiles allow phantomas to emulate mobile or tablet (by setting a proper user agent and viewport) Contribut","default_branch":null,"files":null,"tree":[],"storefront":"/r/macbre","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/macbre/phantomas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}