Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kd_clients/mod.ts>NuGetClient#packageWithVersionExists

Various HTTP clients for miscellaneous use.
Latest
method NuGetClient.prototype.packageWithVersionExists
import { NuGetClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/mod.ts";

Checks if a package that matches the given packageName exits in the NuGet registry with the given version.

Parameters

packageName: string

The name of the NuGet package.

version: string

The version of the NuGet package.

Returns

Promise<boolean>

True if the package exists with the given version, otherwise false.