API Docs for: 0.3.0
Show:

Configuration Class

Defined in: lib/config.js:319
Module: config

represents the istanbul configuration and provides sub-objects that can return instrumentation, reporting and hook options respectively.

Usage

 var configObj = require('istanbul').config.loadFile();

 console.log(configObj.reporting.reports());

Constructor

Configuration

(
  • obj
  • overrides
)

Defined in lib/config.js:319

Parameters:

  • obj Object

    the base object to use as the configuration

  • overrides Object

    optional - override attributes that are merged into the base config

Item Index

Properties

hooks

HookOptions

Defined in lib/config.js:370

hook options

instrumentation

InstrumentOptions

Defined in lib/config.js:360

instrumentation options

reporting

ReportingOptions

Defined in lib/config.js:365

reporting options

verbose

Boolean

Defined in lib/config.js:355

true if verbose logging is required