UNPKG

728 BTypeScriptView Raw
1/**
2 * `DistInfo` contains data describing the distributed package.
3 *
4 * @see {@link https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#dist}
5 */
6export interface DistInfo {
7 /** Tarball URL */
8 readonly tarball: string;
9 /** SHA1 sum of the tarball */
10 readonly shasum: string;
11 /** Usually, SHA512 sum of the tarball preceded by `sha512-` */
12 readonly integrity?: string;
13 /** Number of files in the tarball */
14 readonly fileCount?: number;
15 /** Total size in bytes of the unpacked files in the tarball */
16 readonly unpackedSize?: number;
17 /** npm PGP signature */
18 readonly 'npm-signature'?: string;
19}
20//# sourceMappingURL=dist-info.d.ts.map
\No newline at end of file