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

create-o2s-app

v4.1.8

Published

CLI tool to scaffold new O2S applications with Next.js and NestJS setup.

Readme

create-o2s-app

CLI tool to scaffold new O2S applications with an interactive setup wizard.

Usage

npx create-o2s-app my-app

Interactive Wizard

When you run create-o2s-app, it launches an interactive wizard that guides you through the setup:

  1. Project name — Name of the directory to create (can also be passed as a CLI argument)
  2. Template — Choose between o2s, dxp, or custom
  3. Blocks — Select which UI blocks to include in your project
  4. Integrations — Select backend integrations (e.g. Strapi, Zendesk, Medusa)
  5. Environment variables — Configure required env vars for selected integrations

At the end, the wizard scaffolds your project and installs dependencies.

Templates

| Template | Description | | -------- | -------------------------------------------------------------------------------------- | | o2s | Full O2S Customer Portal — ticket management, invoices, notifications, orders and more | | dxp | DXP Frontend Starter — knowledge base, marketing portal, Digital Experience Platform | | custom | Start from scratch — choose only the blocks and integrations you need |

Options

| Option | Description | | ------------------------------- | ------------------------------------------------------------------------------ | | --template <template> | Template to use: o2s, dxp, or custom | | --blocks <blocks> | Comma-separated list of block names (skips block selection prompt) | | --integrations <integrations> | Comma-separated list of integration names (skips integration selection prompt) | | --skip-install | Skip the npm install step | | --directory <dir> | Destination directory (defaults to project name) |

Non-Interactive Mode

Pass all required options as CLI flags to skip the interactive prompts:

# Create an O2S portal with specific blocks and integrations
npx create-o2s-app my-portal \
  --template o2s \
  --blocks ticket-list,invoice-list \
  --integrations zendesk,strapi-cms

# Create a DXP starter, skip install
npx create-o2s-app my-dxp \
  --template dxp \
  --skip-install

# Custom setup with only selected blocks
npx create-o2s-app my-custom \
  --template custom \
  --blocks article-list,article-details \
  --integrations strapi-cms

What It Creates

my-app/
├── apps/
│   ├── frontend/          # Next.js application
│   └── api-harmonization/ # NestJS API harmonization server
├── packages/
│   ├── blocks/            # Selected UI blocks
│   └── integrations/      # Selected backend integrations
├── package.json           # Workspace root with Turborepo
├── turbo.json
├── tsconfig.json          # TypeScript configuration
├── .eslintrc.js           # ESLint configuration
├── .prettierrc            # Prettier configuration
├── .env.local             # Pre-configured env vars for selected integrations
└── README.md

The .env.local file is generated automatically with all required environment variables for your selected integrations. Fill in the values before starting development.

Note: The scaffolded project does not have a git repository initialized. Run git init in the project directory to start tracking changes.

Related

  • O2S Documentation
  • @o2s/framework — Core framework types and services
  • @o2s/telemetry — Anonymous usage telemetry

Scaffolded apps should keep @o2s/utils.frontend and @o2s/utils.api-harmonization as direct dependencies in apps/frontend and apps/api-harmonization. Blocks expect these from the app (peer dependencies), not from nested installs under each block.