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

sparkseed

v1.0.0

Published

Interactive CLI that generates complete project boilerplates with PRD, Design System and architecture

Readme

🌱 SparkSeed CLI

Interactive CLI that generates complete project boilerplates with PRD, Design System, Architecture, and more!

npm version License: MIT


✨ Features

📋 Documentation Generation

  • PRD (Product Requirements Document) - Complete product specifications
  • Design System - Colors, typography, components, accessibility guidelines
  • Architecture Documentation - Project structure and best practices
  • API Documentation - OpenAPI/Swagger specification
  • QA Guide - Testing and quality assurance guidelines
  • Accessibility Guide - WCAG compliance
  • AI Agent Guide - Guide for AI assistants working on the code
  • Release Checklist - Pre-release and deployment checklist
  • Domain Model - Entity relationship documentation
  • Screen Map - Navigation structure

🛠️ Technology Support

Frontend Frameworks

  • ⚛️ React
  • ⚡ Next.js
  • 🔷 Vue.js
  • 🎯 Nuxt.js
  • 📐 Angular
  • 🚀 Svelte

Backend Frameworks

  • 🟢 Node.js + Express
  • ⚡ Fastify
  • 🐍 Python + FastAPI
  • 🐍 Django
  • ☕ Spring Boot

ORMs (6 Options!)

  • 🔷 Prisma - Type-safe, modern
  • Drizzle - Lightweight, fast
  • 🔄 Sequelize - Classic, mature
  • 📦 TypeORM - Decorators, enterprise
  • 🍃 Mongoose - MongoDB ODM
  • 🔨 Knex.js - SQL query builder

Databases

  • 🐘 PostgreSQL
  • 🦆 MySQL
  • 🔷 SQLite
  • 🍃 MongoDB
  • 🔴 Redis (cache/session)
  • 🔺 Supabase

🤖 AI Integration

Three powerful AI commands:

# Chat about your project
sparkseed ai:chat

# Explain code
sparkseed ai:explain [file]

# Get refactoring suggestions
sparkseed ai:refactor [file]

Supported LLMs:

  • OpenAI (GPT-4, GPT-3.5)
  • Anthropic Claude
  • Ollama (local models)

🔌 Plugin System

Extend sparkseed with official plugins:

# List available plugins
sparkseed plugins:list

# Install a plugin
sparkseed plugins:install @sparkseed/plugin-graphql

# Uninstall a plugin
sparkseed plugins:uninstall @sparkseed/plugin-graphql

# View plugin info
sparkseed plugins:info @sparkseed/plugin-graphql

Official Plugins:

  • @sparkseed/plugin-graphql - GraphQL support
  • @sparkseed/plugin-websocket - WebSocket support
  • @sparkseed/plugin-i18n - Internationalization
  • @sparkseed/plugin-analytics - Analytics integration
  • @sparkseed/plugin-payment - Payment processing (Stripe)

🚀 Deploy & DevOps

Deploy Templates:

  • Vercel
  • Netlify
  • Railway
  • Render
  • Docker

Monitoring Integration:

  • Sentry (error tracking)
  • Datadog (APM)
  • New Relic
  • Prometheus + Grafana

🎨 UI Options

  • Tailwind CSS
  • Styled Components
  • Emotion
  • Chakra UI
  • SCSS/SASS
  • Plain CSS

📦 Additional Features

  • ✅ CI/CD with GitHub Actions
  • ✅ Storybook for components
  • ✅ Load testing with k6
  • ✅ Accessibility testing with axe-core
  • ✅ SonarQube integration
  • ✅ Internationalization (EN/PT/ES)
  • ✅ User Journeys documentation
  • ✅ Screen Map documentation

📦 Installation

From npm (Recommended)

# Install globally
npm install -g sparkseed

# Or use with npx (no installation required)
npx sparkseed --help

From Source

# Clone the repository
git clone https://github.com/yourusername/sparkseed.git
cd sparkseed

# Install dependencies
npm install

# Build the project
npm run build

# Link globally (optional)
npm link

🚀 Usage

Interactive Mode

# Start interactive CLI
sparkseed create

# Or create in a specific directory
sparkseed create my-awesome-project

Commands

# Create a new project
sparkseed create [directory]

# Generate a React component
sparkseed generate:component

# Generate a page
sparkseed generate:page

# Generate a backend resource
sparkseed generate:resource

# AI Commands
sparkseed ai:chat              # Chat about your project
sparkseed ai:explain [file]    # Explain code
sparkseed ai:refactor [file]   # Get refactoring suggestions

# Plugin Commands
sparkseed plugins:list         # List available plugins
sparkseed plugins:install      # Install a plugin
sparkseed plugins:uninstall    # Uninstall a plugin
sparkseed plugins:info         # View plugin info

# Help
sparkseed --help
sparkseed [command] --help

📋 Interactive Flow

When you run sparkseed create, you'll be asked:

  1. Language - Choose CLI language (EN/PT/ES)
  2. Project Name - Your project name
  3. Description - Brief project description
  4. Project Type - Web, Mobile, Desktop, API, or Fullstack
  5. Framework - Choose your preferred framework
  6. Language - TypeScript or JavaScript
  7. Styling - CSS approach (Tailwind, SCSS, etc.)
  8. Database - Choose database (if applicable)
  9. ORM - Choose ORM (Prisma, Drizzle, Sequelize, TypeORM, Mongoose, Knex)
  10. Authentication - Include auth system?
  11. Features - Select desired features
  12. Pages - List of pages
  13. Components - Common components needed
  14. Domain Entities - Define your data models
  15. User Journeys - Define business flows
  16. Screen Map - Define navigation structure
  17. API Endpoints - Define API endpoints
  18. Color Palette - Primary, secondary, accent colors
  19. Typography - Font families and sizes
  20. Global State - Zustand, Redux Toolkit, or none
  21. Locale - Primary locale for formatting

📁 Generated Structure

my-project/
├── docs/
│   ├── PRD.md                    # Product Requirements
│   ├── DESIGN_SYSTEM.md          # Design System
│   ├── ARCHITECTURE.md           # Architecture Guide
│   ├── API.md                    # API Documentation
│   ├── QA_GUIDE.md               # QA Guidelines
│   ├── ACCESSIBILITY.md          # Accessibility Guide
│   ├── AGENT_GUIDE.md            # AI Agent Guide
│   ├── RELEASE_CHECKLIST.md      # Release Checklist
│   ├── DOMAIN_MODEL.md           # Domain Model (if defined)
│   ├── SCREENS_MAP.md            # Screen Map (if defined)
│   └── openapi.json              # OpenAPI Spec (if API enabled)
├── src/
│   ├── components/               # Reusable components
│   ├── pages/                    # Application pages
│   ├── hooks/                    # Custom hooks
│   ├── context/                  # React contexts
│   ├── services/                 # API services
│   ├── styles/                   # Global styles
│   ├── types/                    # TypeScript types
│   ├── utils/                    # Utility functions
│   └── assets/                   # Images, icons, fonts
├── .github/
│   └── workflows/
│       └── ci-cd.yml            # CI/CD pipeline
├── tests/
│   ├── e2e/                      # E2E tests (Playwright)
│   └── unit/                     # Unit tests (Vitest)
├── load-tests/
│   └── script.js                 # k6 load tests
├── .storybook/                   # Storybook config
├── package.json
├── tsconfig.json
├── vite.config.ts
├── README.md
└── DEPLOY.md                     # Deployment guide

🎯 Examples

Create a Fullstack App

sparkseed create my-fullstack-app
# Follow interactive prompts
# Select: Fullstack → React → TypeScript → Tailwind → PostgreSQL → Prisma

Generate a Component

cd my-fullstack-app
sparkseed generate:component
# Follow prompts to create component with styles and tests

Use AI to Explain Code

export OPENAI_API_KEY=sk-...
sparkseed ai:explain src/components/Button.tsx

Install a Plugin

sparkseed plugins:install @sparkseed/plugin-graphql

⚙️ Configuration

Environment Variables

# AI Configuration
export OPENAI_API_KEY=sk-...        # OpenAI API key
export ANTHROPIC_API_KEY=sk-ant-... # Anthropic API key
export SPARKSEED_CLI_LANG=en        # CLI language (en/pt/es)

# For Ollama (local models)
export OLLAMA_BASE_URL=http://localhost:11434

sparkseed.config.json

{
  "name": "my-project",
  "version": "1.0.0",
  "plugins": {
    "enabled": ["@sparkseed/plugin-graphql"],
    "options": {
      "@sparkseed/plugin-graphql": {
        "graphqlPath": "/graphql",
        "playground": true
      }
    }
  }
}

🧪 Testing

# Run unit tests
npm test

# Run with coverage
npm run test:coverage

# Run E2E tests
npm run test:e2e

# Run load tests
npm run test:load

📚 Documentation

After creating a project, check these files:

  • docs/PRD.md - Product requirements
  • docs/DESIGN_SYSTEM.md - Design guidelines
  • docs/ARCHITECTURE.md - Architecture overview
  • docs/AGENT_GUIDE.md - Guide for AI assistants
  • docs/RELEASE_CHECKLIST.md - Pre-release checklist
  • DEPLOY.md - Deployment guide

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

# Lint
npm run lint

# Format
npm run format

📄 License

MIT License - see LICENSE file for details.


🙏 Acknowledgments

Built with ❤️ using:


📞 Support


Happy Coding! 🌱