# ISTANBUL - a JS code coverage tool written in JS - man(1) - [phpMan]

[_ISTANBUL_(1)](https://www.chedong.com/phpMan.php/man/ISTANBUL/1/markdown)                            General Commands Manual                           [_ISTANBUL_(1)](https://www.chedong.com/phpMan.php/man/ISTANBUL/1/markdown)

## NAME
       istanbul - a JS code coverage tool written in JS

## SYNOPSIS
       **istanbul _**help_ _config_ _|_ _<command>_

## DESCRIPTION
       Available commands are:

       check-coverage

              checks  overall/per-file coverage against thresholds from coverage JSON files. Exits 1
              if thresholds are not met, 0 otherwise

       cover

              transparently adds coverage information to a node command. Saves coverage.json and re‐
              ports at the end of execution

       help

              shows help

       instrument

              instruments a file or a directory tree and writes the instrumented code to the desired
              output location

       report

              writes reports for coverage JSON objects produced in a previous run

       test

              cover a node command only when npm_config_coverage is set. Use in an `npm test` script
              for conditional coverage

       Command names can be abbreviated as long as the abbreviation is unambiguous.

## SEE ALSO
       [tap(1)](https://www.chedong.com/phpMan.php/man/tap/1/markdown)

a JS code coverage tool written in JS         June 2018                                  [_ISTANBUL_(1)](https://www.chedong.com/phpMan.php/man/ISTANBUL/1/markdown)
