{"library":"rollup-plugin-add-shebang","title":"rollup-plugin-add-shebang","description":"Rollup plugin that prepends a shebang line (e.g., #!/usr/bin/env node) to output files. v0.3.1 is the latest stable release (last updated July 2019). It automatically adds shebangs to matched files after bundling, supporting include/exclude patterns and custom shebang strings or functions. Unlike alternatives, it works with code splitting and doesn't require modifying source files. Currently in maintenance mode with no recent updates.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-add-shebang"],"cli":null},"imports":["import shebang from 'rollup-plugin-add-shebang'","const shebang = require('rollup-plugin-add-shebang').default","import shebang from 'rollup-plugin-add-shebang'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport shebang from 'rollup-plugin-add-shebang';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'cjs'\n  },\n  plugins: [\n    shebang({\n      include: ['**/cli.js', '**/bin.js'],\n      exclude: '**/node_modules/**',\n      shebang: '#!/usr/bin/env node'\n    })\n  ]\n};","lang":"javascript","description":"Configures Rollup to add a Node.js shebang to output files matching cli.js or bin.js patterns.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}