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

@markromolecule/octo

v0.3.7

Published

Octo CLI — an interactive TypeScript scaffolder for full-stack monorepos and standard apps

Readme

🐙 Octo CLI

Octo is an interactive TypeScript CLI that creates either a pnpm + Turborepo workspace or a framework-standard single application. Every generated project links the official public context-factory as a Git submodule and includes a context:pull script.

Use

Run the published CLI from any directory:

pnpm dlx @markromolecule/octo@latest

By default, the CLI adds context-factory as a Git submodule from the official public repository (https://github.com/markromolecule/context-factory.git). Override it only when using a fork or private factory:

pnpm dlx @markromolecule/octo@latest \
  --context-repo https://github.com/your-org/context-factory.git

Install it globally when you want the shorter command:

pnpm add --global @markromolecule/octo
octo --version
octo

Octo prints its package version in the terminal as 🐙 Octo CLI v<version>. The former @markromolecule/create-monorepo-template package remains the legacy package; new releases use @markromolecule/octo.

You may also set CONTEXT_FACTORY_REPO instead of passing the option. An explicit --context-repo takes precedence over the environment variable.

The prompts ask for the project name, Monorepo or Standard structure, the applicable framework choices, and a frontend styling/component system. Frontend projects can select shadcn/ui, daisyUI, Bootstrap, Tailwind CSS, or the framework default.

Generated modes

Monorepo mode creates:

  • apps/web using React + Vite, Next.js, or Astro
  • apps/api using Hono or Express, with a mounted vertical sample module demonstrating DTO, route, controller, service, and data boundaries
  • packages/db with Prisma migrations and prisma-kysely-generated types used by a Kysely runtime client
  • packages/ui, hooks, services, shared, tsconfig, and eslint-config; the shared package starts with schemas, types, utils, and constants source directories
  • pnpm-workspace.yaml and turbo.json

Standard mode uses the official Vite, Next.js, or Astro generator. Hono and Express use small conventional TypeScript starters. It never creates workspace files or workspace directories.

Both modes also create project infrastructure:

  • .nvmrc targeting Node.js 20
  • .npmrc with pnpm workspace and peer-dependency defaults
  • .github/workflows/ci.yml for install, generation, typecheck, test, and build checks (configured with recursive submodule checkout)
  • .github/workflows/deploy.yml as a safe manual deployment placeholder
  • .github/workflows/README.md as the deployment-workflow handoff point
  • .github/dependabot.yml for weekly npm and GitHub Actions updates
  • root AGENTS.md, CLAUDE.md, and GEMINI.md pointers so tools discover the nested factory
  • context:pull (git submodule update --remote --merge) to pull the latest upstream context rules, skills, and agents
  • context:validate to check the factory manifest, skills, links, and Obsidian configuration

Backend starters include src/modules/sample/ with action-first files such as create-sample.service.ts, create-sample.controller.ts, and create-sample.data.ts. Use singular feature names for one-record operations and plural names such as delete-samples.service.ts for true bulk operations.

turbo.json remains Monorepo-only; Standard projects retain their framework's normal structure.

Selected styling dependencies and reusable primitives are placed in packages/ui for Monorepos, while framework build adapters remain in apps/web. Standard projects keep the same configuration in the application root. shadcn/ui also receives framework-aware components.json aliases so components added from apps/web are routed into packages/ui.

Context factory submodule

Every generated project initializes Git (if not present) and links context-factory via git submodule add.

  • Run pnpm context:pull to fetch the latest context updates from upstream.
  • Run pnpm context:validate to verify context manifest integrity.
  • Run node context-factory/scripts/context.mjs <command> for task scaffolding (task:new), doctor checks, and evaluations.

Develop

pnpm install
pnpm typecheck
pnpm test
pnpm build

Node.js 20 or newer is required. The executable is published through the octo bin in the scoped npm package.