istanbul-lib-report
Core reporting utilities for istanbul.
Example usage
const libReport = ;const reports = ; // coverageMap, for instance, obtained from istanbul-lib-coverageconst coverageMap; const configWatermarks = statements: 50 80 functions: 50 80 branches: 50 80 lines: 50 80; // create a context for report generationconst context = libReport // create an instance of the relevant report class, passing the// report name e.g. json/html/html-spa/textconst report = reports // call execute to synchronously create and write the report to diskreport