Go to Latest
function haveVersion
import { haveVersion } from "https://dotland.deno.dev/x/trex@v1.12.0/handlers/handle_delete_package.ts";

if a package has a version it returns only the name.

Parameters

pkgName: string
  • package name.

Returns

string

package name.