npm Registry API Client
    Preparing search index...

    Interface NpmSearchParams

    Query parameters for the npm search endpoint.

    interface NpmSearchParams {
        from?: number;
        maintenance?: number;
        popularity?: number;
        quality?: number;
        size?: number;
        text: string;
    }
    Index

    Properties

    from?: number

    Offset for pagination

    maintenance?: number

    npm's search API no longer applies ranking weights; results are ordered by text relevance only. Still sent, for registries that honor it.

    popularity?: number

    npm's search API no longer applies ranking weights; results are ordered by text relevance only. Still sent, for registries that honor it.

    quality?: number

    npm's search API no longer applies ranking weights; results are ordered by text relevance only. Still sent, for registries that honor it.

    size?: number

    How many results to return (default: 20, max: 250)

    text: string

    Full-text search query