@rollup/plugin-inject

Scan modules for global variables and injects `import` statements where necessary

npm-pick-manifest

Resolves a matching manifest from a package metadata document according to standard npm semver resolution rules.