Interface NpmDownloadPoint

Download count for a specific package over a period.

Returned by GET /downloads/point/{period}/{package}.

interface NpmDownloadPoint {
    downloads: number;
    end: string;
    package: string;
    start: string;
}

Properties

downloads: number

Total download count for the period

end: string

End date of the period (YYYY-MM-DD)

package: string

Package name

start: string

Start date of the period (YYYY-MM-DD)