For instance, the current thing, from what I understand, is <code>import foo from 'https://some-cdn/your-library@^1.1.1'</code> and deno loads that in. The problem that adding a package.json solves (also, from my limited understanding) is for cases when you import this library in several places and have different version requirements.
So, why not have something like:
export const libraries = {
"some-library": "https://your-cdn/some-library@^1.1.1",
};
export const load = (library) => import(libraries[library]);
Wouldn't that mostly solve the problem without just doing what NodeJS does?