istanbul-lib-instrument
Core istanbul API for JS code coverage
Last updated 2 years ago by bcoe .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install istanbul-lib-instrument 
SYNC missed versions from official npm registry.

istanbul-lib-instrument

Build Status

Istanbul instrumenter library.

Version 1.1.x now implements instrumentation using Babel. The implementation is inspired by prior art by @dtinth as demonstrated in the __coverage__ babel plugin.

It provides 2 "modes" of instrumentation.

  • The old API that is mostly unchanged (except for incompatibilities noted) and performs the instrumentation using babel as a library.

  • A programVisitor function for the Babel AST that can be used by a Babel plugin to emit instrumentation for ES6 code directly without any source map processing. This is the preferred path for babel users. The Babel plugin is called babel-plugin-istanbul.

Incompatibilities and changes to instrumentation behavior can be found in v0-changes.md.

Current Tags

  • 3.3.0                                ...           latest (8 months ago)
  • 4.0.0-alpha.3                                ...           next (4 days ago)

61 Versions

  • 4.0.0-alpha.3                                ...           4 days ago
  • 4.0.0-alpha.2                                ...           a month ago
  • 4.0.0-alpha.1                                ...           2 months ago
  • 4.0.0-alpha.0                                ...           6 months ago
  • 3.3.0                                ...           8 months ago
  • 3.2.0                                ...           8 months ago
  • 3.1.2                                ...           8 months ago
  • 3.1.1                                ...           9 months ago
  • 3.1.0                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 1.10.2                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.10.1                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.2                                ...           2 years ago
  • 1.9.1                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.5                                ...           2 years ago
  • 1.7.4                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.2                                ...           3 years ago
  • 1.7.1                                ...           3 years ago
  • 1.7.0                                ...           3 years ago
  • 1.6.2                                ...           3 years ago
  • 1.6.1                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.2                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.4.0-candidate.0                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.1.0-alpha.4                                ...           3 years ago
  • 1.1.0-alpha.3                                ...           3 years ago
  • 1.1.0-alpha.2                                ...           3 years ago
  • 1.1.0-alpha.1                                ...           3 years ago
  • 1.1.0-alpha.0                                ...           3 years ago
  • 1.0.0-alpha.6                                ...           4 years ago
  • 1.0.0-alpha.5                                ...           4 years ago
  • 1.0.0-alpha.4                                ...           4 years ago
  • 1.0.0-alpha.3                                ...           4 years ago
  • 1.0.0-alpha.2                                ...           4 years ago
  • 1.0.0-alpha.1                                ...           4 years ago
  • 1.0.0-alpha.0                                ...           4 years ago
Downloads
Today 476
This Week 44,062
This Month 128,990
Last Day 14,815
Last Week 81,164
Last Month 332,070
Dependencies (7)
Dev Dependencies (14)
Dependents (98)

Copyright 2014 - 2016 © taobao.org |