Back to packages list

Vals using what-version

Description from the NPM package:
List versions of popular projects or check the latest patch for a given version
1
2
3
4
5
export const latestVersion = async (v) => {
const { default: whatVersion } = await import("npm:what-version");
const nodeVersions = await whatVersion("node", v);
return nodeVersions?.[0];
};
1
Next