Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@schibsted/niche-capi-sdk

Package Overview
Dependencies
Maintainers
12
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schibsted/niche-capi-sdk

This library consists o 2 main parts:

latest
npmnpm
Version
3.1.3
Version published
Maintainers
12
Created
Source

niche-capi-sdk

This library consists o 2 main parts:

  • Capi SDK
  • Set of functions to work with Capi data

Capi SDK

Methods

  • getArticleById
  • getImageUrl
  • getImage
  • getArticleIds
  • getAuthorByIdOrSlug
  • getTagByIdOrSlug
  • searchArticles
  • getRelatedArticles
  • registerQuizQuestion

Set of functions to work with Capi data

Transfromations are grouped into 2 categories, those working on a single component level and those working on a list of components. Single component transformations should be used where possible, they are easier to understand, faster and should be safer. Multiple component transformations must be used when you need to add, remove or reorder components.

Changes in transformations

After introducing any breaking changes in article transformations, make sure that it will be working correctly for all sites that are already using them - Godt, Tek, MinMote.

FAQs

Package last updated on 01 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts