npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@o2s/integrations.strapi-cms

v2.14.1

Published

Strapi CMS integration for O2S, providing content management functionality via GraphQL.

Downloads

881

Readme

@o2s/integrations.strapi-cms

Strapi CMS integration for O2S, providing content management functionality via GraphQL.

The Strapi integration connects O2S to a self-hosted Strapi instance via GraphQL. It provides pages, app config, header, footer, components, categories, and articles. Article search is powered by Algolia when the Search integration is configured. Content editors manage all content in Strapi; developers get a headless CMS backend with full control over hosting and schema.

  • GraphQL – Pages, app config, header, footer, components, categories, articles
  • Articles – Article and category management; search via Algolia
  • Cache – Uses Cache module for performance
  • Self-hosted – Run Strapi on your own infrastructure

Content editors use Strapi's admin UI. Developers configure CMS_STRAPI_BASE_URL and optionally SEARCH_ARTICLES_INDEX_NAME for article search.

Installation

npm install @o2s/integrations.strapi-cms

Configuration

Configure the integration via @o2s/configs.integrations in your AppConfig:

import { Articles, CMS } from '@o2s/configs.integrations';
import { StrapiConfig } from '@o2s/integrations.strapi-cms/integration';

export const AppConfig: ApiConfig = {
    integrations: {
        articles: StrapiConfig.articles,
        cms: StrapiConfig.cms,
    },
};

Or use the pre-configured integration from @o2s/configs.integrations:

import { Articles, CMS } from '@o2s/configs.integrations';

export const AppConfig: ApiConfig = {
    integrations: {
        articles: Articles.ArticlesIntegrationConfig,
        cms: CMS.CmsIntegrationConfig,
    },
};

Environment Variables

Required

  • CMS_STRAPI_BASE_URL - Your Strapi instance URL (e.g., https://your-strapi.com)
  • CMS_STRAPI_API_KEY - Strapi API key for authentication

Optional

  • CMS_STRAPI_GRAPHQL_ENDPOINT - Custom GraphQL endpoint (defaults to /graphql)

Example .env

CMS_STRAPI_BASE_URL=https://your-strapi.com
CMS_STRAPI_API_KEY=your-api-key-here
CMS_STRAPI_GRAPHQL_ENDPOINT=/graphql

Features

  • GraphQL-based content fetching
  • Article and content management
  • Live preview support
  • Multi-locale content support

Related Packages

  • @o2s/blocks.article - Display articles
  • @o2s/blocks.article-list - Display article lists
  • @o2s/configs.integrations - Integration configuration

About Integrations in O2S

Integrations are adapters that connect O2S to external backend services. They handle API communication and normalize data from various backend services into an API-agnostic format. The frontend app communicates only with the API Harmonization server, never directly with backend services, enabling you to swap integrations without breaking the frontend.

Documentation: Strapi CMS

About O2S

Part of Open Self Service (O2S) - an open-source framework for building composable customer self-service portals. O2S simplifies integration of multiple headless APIs into a scalable frontend, providing an API-agnostic architecture with a normalization layer.