@spree/docs
v0.1.18
Published
Spree Commerce developer documentation for AI agents and local reference
Readme
@spree/docs
Spree Commerce developer documentation packaged for local access by AI agents and development tools.
Installation
npm install @spree/docs
# or
pnpm add @spree/docsUsage
Documentation files are plain Markdown, accessible at:
node_modules/@spree/docs/dist/
├── developer/
│ ├── core-concepts/ # Products, orders, payments, inventory, etc.
│ ├── customization/ # Decorators, extensions, configuration
│ ├── admin/ # Admin panel customization
│ ├── storefront/ # Storefront building guides
│ ├── sdk/ # TypeScript SDK documentation
│ ├── deployment/ # Deployment guides
│ └── tutorial/ # Step-by-step tutorials
├── api-reference/
│ └── store-api/ # Store API reference
└── integrations/ # Third-party integration guidesFor AI Agents
Point your CLAUDE.md or agent configuration to the docs:
## Spree Documentation
Full developer docs: `node_modules/@spree/docs/dist/`Programmatic Access (Node.js)
import { readFileSync } from 'fs'
import { createRequire } from 'module'
const require = createRequire(import.meta.url)
const docsPath = require.resolve('@spree/docs/dist/developer/core-concepts/products.md')
const content = readFileSync(docsPath, 'utf-8')License
CC-BY-4.0 — same as the Spree Commerce documentation.
