{"library":"rollup-plugin-coverage","title":"rollup-plugin-coverage","description":"Rollup plugin for Istanbul unit test coverage. Version 0.1.4 provides integration with Istanbul instrumenter for code coverage reporting in Rollup and Karma. It offers options for include/exclude patterns, coverage options, and sourcemap support. The plugin is no longer actively maintained; users are advised to migrate to @rollup/plugin-istanbul or official Rollup coverage plugins.","language":"javascript","status":"deprecated","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-coverage"],"cli":null},"imports":["import coverage from 'rollup-plugin-coverage'","import coverage from 'rollup-plugin-coverage'","const coverage = require('rollup-plugin-coverage').default"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { rollup } from 'rollup';\nimport coverage from 'rollup-plugin-coverage';\n\nrollup({\n  input: 'src/main.js',\n  plugins: [\n    coverage({\n      exclude: ['test/**/*.js', 'node_modules/**'],\n      coverageOptions: {\n        esModules: true\n      }\n    })\n  ]\n}).then(bundle => bundle.write({ file: 'dist/bundle.js', format: 'es' }));","lang":"javascript","description":"Configures Rollup with Istanbul coverage, excluding test files and setting ES module instrumentation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}