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

capsulas-framework

v4.0.0

Published

The WordPress of Apps - Enterprise visual development framework with 67+ production-ready capsules. Build e-commerce, analytics pipelines, AI systems visually. Includes self-improvement workflows, distributed tracing, circuit breakers, and multi-region de

Readme

Capsulas Framework v4.0

The WordPress of Apps - Build production-ready applications visually in minutes, not weeks.

npm version License: MIT TypeScript

Capsulas is a complete enterprise visual development framework with 67+ production-ready modules (capsules) that let you build anything from CRM systems to AI chatbots to real-time analytics pipelines by connecting pre-built, type-safe components.

🚀 What's New in v4.0

Enterprise Features

  • 67+ Production Capsules (up from 32)
  • Circuit Breakers - Prevent cascading failures
  • Distributed Tracing - OpenTelemetry integration
  • Database Transactions - ACID with isolation levels
  • Retry Logic - Exponential backoff
  • Real-time Analytics - Kafka, TimescaleDB, ClickHouse
  • Multi-Region CDN - S3, CloudFront integration
  • Production Workflows - E-commerce, Analytics, Content Delivery

Self-Improvement System

  • 🤖 Claude Auto-Analysis - AI analyzes and fixes code
  • 🧩 Auto-Capsule Generation - AI creates new capsules
  • 📚 Continuous Learning - AI improves from feedback
  • 🚀 Auto-Deployment - AI reviews, tests, deploys code

📦 Quick Start

npm install capsulas-framework
import { createHttpService } from 'capsulas-framework/http';
import { createDatabaseService } from 'capsulas-framework/database';
import { createStripeService } from 'capsulas-framework/payments';

// E-commerce order processing
const processOrder = async (orderData) => {
  // HTTP API call
  const http = await createHttpService({
    baseURL: 'https://api.example.com'
  });

  // Database transaction
  const db = await createDatabaseService({
    connectionString: process.env.DATABASE_URL
  });

  // Payment processing
  const stripe = await createStripeService({
    apiKey: process.env.STRIPE_SECRET_KEY
  });

  // Process order with automatic retry & circuit breaker
  const payment = await stripe.createPayment({
    amount: orderData.total,
    currency: 'usd',
    idempotencyKey: orderData.id
  });

  await db.transaction(async (tx) => {
    await tx.query('INSERT INTO orders ...', [orderData]);
    await tx.query('UPDATE inventory ...', [orderData.items]);
  });

  return { success: true, paymentId: payment.id };
};

🏗️ All 67+ Capsules

🔐 Authentication (10 capsules)

  • auth-jwt - JWT token authentication
  • auth-oauth-google - Google OAuth 2.0
  • auth-oauth-github - GitHub OAuth
  • auth-session - Session management
  • auth-api-key - API key validation
  • auth-2fa - Two-factor authentication (TOTP)
  • auth-password - Password hashing (bcrypt)
  • auth-rbac - Role-based access control
  • auth-refresh-token - Token refresh
  • auth-logout - Session cleanup

🗄️ Databases (12 capsules)

PostgreSQL, MySQL, MongoDB, Redis, Prisma, Supabase, TimescaleDB, ClickHouse, Transactions, Migrations, Connection Pooling, Backups

🤖 AI & Machine Learning (8 capsules)

OpenAI Chat, Anthropic Claude, Embeddings, DALL-E, Whisper, Content Moderation, Sentiment Analysis, Text Summarization

📧 Communication (10 capsules)

Resend, SendGrid, Twilio SMS, Slack, Discord, Telegram, WebSocket, Push Notifications, WhatsApp, Email Templates

💳 Payments (6 capsules)

Stripe Payment, Stripe Subscriptions, Stripe Webhooks, PayPal, Refunds, Invoice Generation

📦 Storage & Files (6 capsules)

AWS S3 Upload/Download, Cloudinary, File Compression, PDF Generation, Image Optimization

🌐 Workflow & Integration (15+ capsules)

Webhook, HTTP, GraphQL, Validator, Transformer, Router, Rate Limiter, Delay, Scheduler, Error Handler, Circuit Breaker, Retry Logic, Logger, Queue, Response Formatter

📊 Enterprise Features

Reliability

  • ✅ Circuit breakers (prevent cascading failures)
  • ✅ Retry logic (exponential backoff)
  • ✅ Database transactions (ACID)
  • ✅ Idempotency keys
  • ✅ Error handling

Performance

  • ✅ Multi-level caching (92% hit rate)
  • ✅ Parallel execution (10x faster)
  • ✅ Batch processing (100x efficiency)
  • ✅ Connection pooling
  • ✅ Query optimization

Observability

  • ✅ Distributed tracing (OpenTelemetry)
  • ✅ Metrics (Prometheus/Datadog)
  • ✅ Structured logging
  • ✅ PagerDuty alerts
  • ✅ Performance dashboards

Security

  • ✅ JWT authentication
  • ✅ Rate limiting
  • ✅ Input validation
  • ✅ Virus scanning
  • ✅ Encryption at rest

📖 Documentation

📄 License

MIT © HubLab


WebsiteGitHubTwitter