Distribution info attached to a published version.

interface NpmDist {
    fileCount?: number;
    integrity?: string;
    shasum: string;
    tarball: string;
    unpackedSize?: number;
}

Properties

fileCount?: number

Number of files in the tarball

integrity?: string

Subresource Integrity hash

shasum: string

SHA-1 checksum

tarball: string

URL to the tarball

unpackedSize?: number

Unpacked size in bytes