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/Vite config
Validate that the peerDependencies of a given package.json have been satisfied.
Verifies that installed modules comply with the requirements specified in package.json