
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
fetch-coverage
Advanced tools
Fetch the code coverage from an open-source GIT repository, using a variety of well-known coverage services
Fetch the code coverage from an open-source GIT repository, using a variety of well-known coverage services.
Currently supports GitHub, Bitbucket and GitLab repositories and checks against Coveralls, Code Climate, Scrutinizer and Codecov.
Feel free to make a PR adding support for another coverage service.
$ npm install fetch-coverage
fetchCoverage(repositoryUrl, options) -> Promise
const fetchCoverage = require('fetch-coverage');
fetchCoverage('git@github.com:moxystudio/node-planify.git')
// `coverage` is a number between 0 and 1 or `null` if there's no code coverage
.then((coverage) => console.log('Coverage', coverage));
The repositoryUrl
is any valid cloneable URL.
Available options:
branch
: The target branch (only supported in some services)services
: The services to fetch from, defaults to all servicesgot
: Custom options to be passed to got, defaults to { timeout: 15000 }
badges
: The badges information gathered by detect-readme-badges which might speed up the fetching process$ npm test
$ npm test -- --watch # during development
Released under the MIT License.
FAQs
Fetch the code coverage from an open-source GIT repository, using a variety of well-known coverage services
The npm package fetch-coverage receives a total of 1 weekly downloads. As such, fetch-coverage popularity was classified as not popular.
We found that fetch-coverage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.