Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

@types/istanbul-reports

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

@types/istanbul-reports

TypeScript definitions for istanbul-reports

    3.0.1ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4ts4.5ts4.6ts4.7ts4.8ts4.9ts5.0ts5.1ts5.2latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
26,947,615
increased by6.09%

Weekly downloads

Readme

Source

Installation

npm install --save @types/istanbul-reports

Summary

This package contains type definitions for istanbul-reports (https://github.com/istanbuljs/istanbuljs).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports.

index.d.ts

// Type definitions for istanbul-reports 3.0 // Project: https://github.com/istanbuljs/istanbuljs, https://istanbul.js.org // Definitions by: Jason Cheatham <https://github.com/jason0x43> // Elena Shcherbakova <https://github.com/not-a-doctor> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 import { Node, ReportBase } from 'istanbul-lib-report'; export function create<T extends keyof ReportOptions>(name: T, options?: Partial<ReportOptions[T]>): ReportBase; export interface FileOptions { file: string; } export interface ProjectOptions { projectRoot: string; } export interface ReportOptions { clover: CloverOptions; cobertura: CoberturaOptions; 'html-spa': HtmlSpaOptions; html: HtmlOptions; json: JsonOptions; 'json-summary': JsonSummaryOptions; lcov: LcovOptions; lcovonly: LcovOnlyOptions; none: never; teamcity: TeamcityOptions; text: TextOptions; 'text-lcov': TextLcovOptions; 'text-summary': TextSummaryOptions; } export type ReportType = keyof ReportOptions; export interface CloverOptions extends FileOptions, ProjectOptions {} export interface CoberturaOptions extends FileOptions, ProjectOptions {} export interface HtmlSpaOptions extends HtmlOptions { metricsToShow: Array<'lines' | 'branches' | 'functions' | 'statements'>; } export interface HtmlOptions { verbose: boolean; skipEmpty: boolean; subdir: string; linkMapper: LinkMapper; } export type JsonOptions = FileOptions; export type JsonSummaryOptions = FileOptions; export interface LcovOptions extends FileOptions, ProjectOptions {} export interface LcovOnlyOptions extends FileOptions, ProjectOptions {} export interface TeamcityOptions extends FileOptions { blockName: string; } export interface TextOptions extends FileOptions { maxCols: number; skipEmpty: boolean; skipFull: boolean; } export type TextLcovOptions = ProjectOptions; export type TextSummaryOptions = FileOptions; export interface LinkMapper { getPath(node: string | Node): string; relativePath(source: string | Node, target: string | Node): string; assetPath(node: Node, name: string): string; }

Additional Details

  • Last updated: Tue, 01 Jun 2021 21:02:19 GMT
  • Dependencies: @types/istanbul-lib-report
  • Global values: none

Credits

These definitions were written by Jason Cheatham, and Elena Shcherbakova.

FAQs

Last updated on 01 Jun 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc