UNPKG

421 BPlain TextView Raw
1/**
2 * `PackageFile` represents a file belonging to a package.
3 */
4export interface PackageFile {
5 /** Filename */
6 readonly filename: string;
7
8 /** If `true`, this file is the entry point to the package */
9 readonly isIndexFile?: boolean;
10
11 /** URL in a remote repository linking to the file */
12 readonly url?: string;
13
14 /** URL on unpkg.com linking to the file */
15 readonly unpkgURL?: string;
16}