istanbulify

Simple transform command to instrument your source with istanbul using browserify


Keywords
istanbul, browserify, coverage, instrument
License
Apache-2.0
Install
npm install istanbulify@0.1.0

Documentation

Istanbulify

browserify v2 plugin that allows you to instrument your source using istanbul

Instalation:

npm install istanbulify

Usage:

To instrument your source during the browserify bundling simply use the -toptions of browserify passing istanbulify as argument:

browserify -t istanbulify myfile.js > bundle.js

Ignoring files :

To ignore a file during bundling add a block comments containing /* istanbulify ignore file */ in your file.

Credits:

The code of this module has been greatly inspired by coffeify.