🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

monomerge

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monomerge

Merge multiple json coverage files into one, then use nyc to create a merged report. Ideal for monorepos

latest
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

monomerge

Merge multiple json coverage files into one, then use nyc to create a merged report. Ideal for monorepos.

How to

npm add -D monomerge nyc
npx monomerge

This command will find all your coverage-final.json files into your packages/*/coverage/coverage-final.json folders.

All these files will be merged into .nyc_output/coverage.json file.

Now you can do whathever you want with this merged coverage file.

Generate a report

Just call nyc with your prefered Options

npx nyc report --reporter=html --reporter=lcov
# or via a nyc config file https://github.com/istanbuljs/nyc#configuration-files

FAQs

Package last updated on 27 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts