npm Registry API Client
    Preparing search index...

    Interface NpmsScore

    Returned by PackageResource.score. npm no longer computes these scores: score.detail is always 1, and score.final is search relevance.

    interface NpmsScore {
        analyzedAt?: string;
        evaluation?: NpmsEvaluation;
        score: { detail: NpmsScoreDetail; final: number };
    }
    Index

    Properties

    analyzedAt?: string

    Timestamp of the underlying registry search index entry this score was read from. May be absent if the matched package has no recorded date.

    evaluation?: NpmsEvaluation

    npms.io, the only source for this granular breakdown, has been discontinued. This field is never populated — only the aggregate score is available.

    score: { detail: NpmsScoreDetail; final: number }