Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Branch: master
Clone or download
Pull request Compare This branch is 100 commits ahead, 3 commits behind gotwarlost:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
misc CHORE - Remove Trailing Spaces Apr 3, 2016
.gitignore make output folder in test folder Mar 19, 2015
.jshintrc Move jshint config into a separate file Sep 16, 2014
.travis.yml Add sudo:false to use container infrastructure Nov 24, 2015 update changelog, contributors Aug 21, 2016
LICENSE initial commit Sep 12, 2012 deprecate Sep 28, 2018 Add the `l` property to documentation Jul 24, 2015
index.js swap fileset for glob Aug 19, 2016
yuidoc.json Misc docgen changes Jul 7, 2014


This package was created a long time ago before istanbul had direct transpiler support. I suggest looking at for an updated and maintained solution for code coverage.

babel-istanbul - babel + istanbul


  • This package handles coverage for babel generated code by reconciling babel's output and its source map.
  • babel-istanbul is drop-in replacement for istanbul, as it is a fork of istanbul with babel compilation inserted into the instrumentation layer.

Getting started

$ npm install babel-istanbul
  • babel-istanbul is run exactly like istanbul. For specifics on running istanbul, see istanbul's README.