EU Parliament Monitor — API Documentation - v0.8.43
    Preparing search index...
    • Humanise an article-type slug the same way the aggregator does (see src/aggregator/analysis-aggregator.ts:humanize). Kept in sync by value — we deliberately do not import the private helper.

      Parameters

      • slug: string

        Slug like week-ahead or breaking_news

      Returns string

      Title-cased humanised form (Week Ahead, Breaking News)