npm Registry API Client
    Preparing search index...

    Interface NpmVersionDownloads

    Download counts for all versions of a package over the previous 7 days.

    Returned by GET /versions/{package}/last-week.

    interface NpmVersionDownloads {
        downloads: Record<string, number>;
        package: string;
    }
    Index

    Properties

    Properties

    downloads: Record<string, number>

    Map of version strings to their download counts

    package: string

    Package name