{"library":"rollup-plugin-node-globals","type":"library","category":null,"description":"A Rollup plugin (v1.4.0, last released in 2018) that injects Node.js global polyfills—process, global, Buffer, __dirname, __filename—into bundled code, mimicking browserify's global shimming. It optimizes process.nextTick and process.browser to only pull in required parts, and resolves __dirname/__filename to the file on disk. Useful for migrating CommonJS or Node-centric code to ES module bundles, but superseded by @rollup/plugin-inject or manual polyfills; unmaintained and incompatible with Rollup v2+.","language":"javascript","status":"deprecated","version":"1.4.0","tags":["javascript","rollup-plugin"],"install":[{"cmd":"npm install rollup-plugin-node-globals","imports":["import globals from 'rollup-plugin-node-globals'","import globals from 'rollup-plugin-node-globals'; export default { plugins: [globals()] }","globals({ process: false, global: false, buffer: false, dirname: false, filename: false, baseDir: '/some/path' })"]},{"cmd":"yarn add rollup-plugin-node-globals","imports":[]},{"cmd":"pnpm add rollup-plugin-node-globals","imports":[]}],"homepage":null,"github":"https://github.com/calvinmetcalf/rollup-plugin-node-globals","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-node-globals","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-node-globals/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}