Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NpmPackage

import type { NpmPackage } from "https://googleapis.deno.dev/v1/artifactregistry:v1.ts";

NpmPackage represents an npm artifact.

interface NpmPackage {
readonly createTime?: Date;
name?: string;
packageName?: string;
tags?: string[];
readonly updateTime?: Date;
version?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Time the package was created.

§
name?: string
[src]

Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package.

§
packageName?: string
[src]

Package for the artifact.

§
tags?: string[]
[src]

Tags attached to this package.

§
readonly updateTime?: Date
[src]

Output only. Time the package was updated.

§
version?: string
[src]

Version of this package.