Use micromatch to filter npm module dependencies by name.
Rollup plugin to automatically add a library's peerDependencies to its bundle's external config.
Automatically declare NodeJS built-in modules and npm dependencies as 'external' in Rollup config
Rollup plugin to automatically exclude package.json dependencies and peerDependencies from your bundle
Verifies that installed modules comply with the requirements specified in package.json