Get module info of Deno from https://deno.land/x.
import moduleInfo, { type ModuleInfo} from 'https://deno.land/x/module_info/mod.ts';
await versionInfo('std');
output:
{
name: "std",
description: "A secure JavaScript and TypeScript runtime",
star_count: 66566
}
deno run --allow-net https://deno.land/x/module_info/examples/std.ts
deno_module_info is released under the MIT License. See the bundled LICENSE file for details.