cardio

A cardiograph for your web application code base

npm install cardio
5 downloads in the last month

Cardio

Cardio is a web application health tool. It provides a snapshot (via a bunch of metrics) of how "healthy" your application is by measuring HTML/CSS/JS complexity.

Installation

git clone https://github.com/auchenberg/cardio.git
cd cardio
npm install

If you get installation errors for node-canvas, don't despair. It's an optional dependency used by Assetgraph to do some other cool stuff that isn't used in AssetViz.

Usage

$ cardio »url-or-webroot-or-html-file« > output.json
$ cardio-report2array output.json # Reformats for metrics-friendly digestion

License

MIT

npm loves you