Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function haveVersion
import { haveVersion } from "https://deno.land/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.