Menu

Filtering GitHub Marketplace in TypeScript without excluding every type
📰

Filtering GitHub Marketplace in TypeScript without excluding every type

DEV Community: node·Nimbryxo-studio·19 days ago
#6e3kfMnE
#devtonodejs#devto#dev#input#const
Long article (2314 words) — no AI summary yet.
Reading 0:00
15s threshold

Your shortlist was useful until you asked it to be more selective.

You add minimum installs and stars, then the next scheduled search returns nothing. Before rewriting your ingestion job, inspect the inputs.

Applying positive minInstalls and minStars together excludes every listing type: the former excludes Actions, and the latter excludes apps.

Example configuration: each setting is valid individually, but their combination defeats a mixed shortlist.

const run_input = { mode : "searchAll" , searchQuery : "code review" , minInstalls : 1000 , minStars : 100 , planType : "all" , maxItems : 50 , } as const ;

Enter fullscreen mode

Exit fullscreen mode

This is a population problem before it's a popularity problem. The useful repair is to express eligibility separately for each kind of tool.

Start with the symptom and its evidence

An empty dataset feels like a broken collector. It can also mean your filters worked exactly as requested.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.