Javascript complexity tool

npm install js-complexity-viz
25 downloads in the last week
104 downloads in the last month


Build status

JavaScript source code complexity tool

This is a runner/wrapper around Phil Booth's tool complexity report

Install and run

npm install -g js-complexity-viz
js-complexity-viz foo.js tests/*.js

It can also be installed locally and used from other modules. See js-complexity-viz.js source file.

Use -h option to see all (few) options


  1. report.html (based on template, uses Google charting library)
  2. report.json (collected js file complexity statistics)

For example, the html can be ingested into Jenkins build system when using HTML publisher plugin


The MIT License, see MIT-License.txt


Gleb Bahmutov gleb.bahmutov@gmail.com

npm loves you