{"library":"rollup-plugin-istanbul2","title":"rollup-plugin-istanbul","description":"Rollup plugin for seamless integration with Istanbul code coverage instrumentation. Current stable version is 5.0.0, released with support for Rollup v4 and Node.js 16+. It instruments source files before bundling, ensuring test code is not covered. Key differentiators: works as a Rollup plugin, supports source maps, configurable instrumenter options, and minimal setup. Published under MIT license, maintained by artberri. Released at a moderate cadence with 5 major versions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-istanbul2"],"cli":null},"imports":["import istanbul from 'rollup-plugin-istanbul'","const istanbul = require('rollup-plugin-istanbul').default;","import istanbul from 'rollup-plugin-istanbul';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install: npm install --save-dev rollup rollup-plugin-istanbul\n// rollup.config.js\nimport istanbul from 'rollup-plugin-istanbul';\n\nexport default {\n  input: 'src/index.js',\n  output: { file: 'dist/bundle.js', format: 'iife' },\n  plugins: [\n    istanbul({\n      exclude: ['test/**/*.js']\n    })\n  ]\n};\n","lang":"javascript","description":"Minimal Rollup configuration using rollup-plugin-istanbul to instrument source files, excluding test directory.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}