rollup-plugin-node-externals is a Rollup plugin that automatically externalizes dependencies specified in your package.json. This prevents bundling Node.js dependencies directly into your library or application, reducing the final bundle size and improving compatibility with Node.js environments. It offers granular control through include/exclude options, allowing you to selectively bundle specific dependencies when necessary. It streamlines the process of creating Node.js-compatible Rollup bundles with minimal configuration.