kernl API
    Preparing search index...

    Function popularTopics

    • The topics most listed applets carry, for the store's filter bubbles.

      Parameters

      • entries: readonly CatalogEntry[]

        The listed applets.

      • limit: number = 12

        How many topics to return.

      Returns readonly TopicCount[]

      Topics by count, then alphabetically.

      popularTopics(entries, 3); // [{ topic: 'game', count: 14 }, { topic: '3d', count: 5 }, …]