{"_id":"@bizantine/istanbul-lib-report","name":"@bizantine/istanbul-lib-report","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bizantine/istanbul-lib-report","version":"0.0.1","description":"Base reporting library for bizantine","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","dependencies":{"istanbul-lib-coverage":"npm:@bizantine/istanbul-lib-coverage@^0.0.1","make-dir":"^3.0.0","supports-color":"^7.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2","nyc":"^15.0.0-beta.2","rimraf":"^3.0.0"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"homepage":"https://istanbul.js.org/","repository":{"type":"git","url":"git+ssh://git@github.com/istanbuljs/istanbuljs.git","directory":"packages/istanbul-lib-report"},"keywords":["istanbul","report","api","lib"],"engines":{"node":">=8"},"gitHead":"5319df684b508ff6fb19fe8b9a6147a3c5924e4b","scripts":{"test":"nyc --nycrc-path=../../monorepo-per-package-full.js mocha"},"_id":"@bizantine/istanbul-lib-report@0.0.1","_integrity":"sha512-6f91I7iv7zDjZXgaVsHcysvPldaNVgymsabs95lOzUkbPOX6M4+i7tSUikaDQ61jCwdThP9j3Xi8KjOdpe6pLA==","_resolved":"/private/var/folders/q9/qjjnkjx138l_sbmkrnfpb7l80000gq/T/2566f00476c36103709ed4a33c909dac/bizantine-istanbul-lib-report-0.0.1.tgz","_from":"file:bizantine-istanbul-lib-report-0.0.1.tgz","_nodeVersion":"16.13.1","_npmVersion":"9.1.2","dist":{"integrity":"sha512-6f91I7iv7zDjZXgaVsHcysvPldaNVgymsabs95lOzUkbPOX6M4+i7tSUikaDQ61jCwdThP9j3Xi8KjOdpe6pLA==","shasum":"48f911e44f46f86ab3f16d293f07667ec455cdf2","tarball":"https://registry.npmjs.org/@bizantine/istanbul-lib-report/-/istanbul-lib-report-0.0.1.tgz","fileCount":12,"unpackedSize":31823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFzWAXA+I6aQ22+ZO/Sn3w4JW9IySKe/WZahp1Op3qGwIhALfRVflZI+3P2gvgtTynUGG+xcxOAlQJPpCEzh41V7oj"}]},"_npmUser":{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"},"directories":{},"maintainers":[{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-report_0.0.1_1692099079419_0.9783161949325088"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-15T11:31:19.336Z","0.0.1":"2023-08-15T11:31:19.637Z","modified":"2023-08-15T11:31:19.932Z"},"maintainers":[{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"}],"description":"Base reporting library for bizantine","homepage":"https://istanbul.js.org/","keywords":["istanbul","report","api","lib"],"repository":{"type":"git","url":"git+ssh://git@github.com/istanbuljs/istanbuljs.git","directory":"packages/istanbul-lib-report"},"author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"license":"BSD-3-Clause","readme":"# istanbul-lib-report\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/istanbul-lib-report.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/istanbuljs/istanbul-lib-report.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbul-lib-report)\n\nCore reporting utilities for istanbul.\n\n## Example usage\n\n```js\nconst libReport = require('istanbul-lib-report');\nconst reports = require('istanbul-reports');\n\n// coverageMap, for instance, obtained from istanbul-lib-coverage\nconst coverageMap;\n\nconst configWatermarks = {\n  statements: [50, 80],\n  functions: [50, 80],\n  branches: [50, 80],\n  lines: [50, 80]\n};\n\n// create a context for report generation\nconst context = libReport.createContext({\n  dir: 'report/output/dir',\n  // The summarizer to default to (may be overridden by some reports)\n  // values can be nested/flat/pkg. Defaults to 'pkg'\n  defaultSummarizer: 'nested',\n  watermarks: configWatermarks,\n  coverageMap,\n})\n\n// create an instance of the relevant report class, passing the\n// report name e.g. json/html/html-spa/text\nconst report = reports.create('json', {\n  skipEmpty: configSkipEmpty,\n  skipFull: configSkipFull\n})\n\n// call execute to synchronously create and write the report to disk\nreport.execute(context)\n```\n","readmeFilename":"README.md"}