{"library":"rollup-plugin-cjs-check","title":"rollup-plugin-cjs-check","description":"A Rollup plugin that automatically verifies CommonJS output compatibility with Node.js's cjs-module-lexer. Currently at v1.0.3, with stable release cadence. It analyzes the generated CJS bundle and compares the exports detected by Rollup against those that cjs-module-lexer would detect, flagging mismatches that cause broken named imports in Node.js ESM. Unlike manual testing, this provides automated CI enforcement. Requires Rollup >=1.20.0 and Node >=14.0.0.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-cjs-check"],"cli":null},"imports":["import cjsCheck from 'rollup-plugin-cjs-check'","import cjsCheck from 'rollup-plugin-cjs-check'","import type { CjsCheckOptions } from 'rollup-plugin-cjs-check'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport cjsCheck from 'rollup-plugin-cjs-check';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'output',\n    format: 'cjs',\n  },\n  plugins: [\n    cjsCheck(),\n  ],\n};\n","lang":"javascript","description":"Basic Rollup configuration using the cjs-check plugin to validate CJS exports.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}