{"library":"rollup-plugin-userscript","type":"library","category":null,"description":"Rollup plugin that automatically parses userscript metadata blocks and injects @grant declarations for GM_* functions used in the code. Version 1.1.0 requires Rollup ^4.0.0 and Node >=18. Differentiates from manual grant management by analyzing the bundle at compile time and adding only needed grants. Maintained by Violentmonkey project; follows Tampermonkey/Violentmonkey metadata conventions.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","rollup","userscript","typescript"],"install":[{"cmd":"npm install rollup-plugin-userscript","imports":["import userscript from 'rollup-plugin-userscript';","import userscript from 'rollup-plugin-userscript';\nexport default {\n  plugins: [userscript(meta => meta.replace('KEY', 'value'))]\n};","import './meta.js?userscript-metadata';"]},{"cmd":"yarn add rollup-plugin-userscript","imports":[]},{"cmd":"pnpm add rollup-plugin-userscript","imports":[]}],"homepage":null,"github":"https://github.com/violentmonkey/rollup-plugin-userscript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-userscript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rollup-plugin-userscript/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}