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

@webalexx/projen-multi-cloud-project

v0.0.9

Published

A projen library for multi-cloud Pulumi projects

Readme

@webalexx/projen-multi-cloud-project

A TypeScript Projen library for creating multi-cloud Pulumi projects with AWS EKS, Minikube, and FastAPI ML Services.

Features

  • 🚀 FastAPI ML Services: Pre-configured FastAPI templates with LLM integration (AWS Bedrock)
  • ☸️ Kubernetes Deployment: Support for Minikube and AWS EKS
  • 🐳 Docker Multi-Stage Builds: Optimized container images for production
  • 📊 Helm Charts: Complete Helm chart templates with HPA and Secrets management
  • 🔐 AWS Secrets Manager: Native integration for secure credential management
  • 🔄 GitHub Actions CI/CD: Complete workflows for testing, building, and deployment
  • 🧪 Unit & Integration Tests: Pytest for Python services + Jest for TypeScript

Quick Start

Installation

npm install @webalexx/projen-multi-cloud-project --save-dev

Create .projenrc.ts

import { MultiCloudPulumiProject, MLProject } from '@webalexx/projen-multi-cloud-project';

const project = new MultiCloudPulumiProject({
  name: '@myorg/my-ml-project',
  repositoryUrl: 'https://github.com/myorg/my-ml-project.git',
  author: 'Your Name',
  authorAddress: '[email protected]',
  defaultReleaseBranch: 'main',
});

// Create an ML service
new MLProject(project, 'data-analyzer', {
  projectName: 'data-analyzer',
  awsRegion: 'us-east-1',
  enableMinikube: true,
  enableEks: true,
  enableHelmChart: true,
});

project.synth();

Generate Project

npx projen

API Reference

MultiCloudPulumiProject

High-level construct that creates a Projen TypeScript project with multi-cloud Pulumi support.

| Class / Method | Description | Parameters | | :--- | :--- | :--- | | MultiCloudPulumiProject | Main project class combining all cloud components | options: MultiCloudPulumiProjectOptions | | MultiCloudPulumiProjectOptions.author | Author name | string | | MultiCloudPulumiProjectOptions.authorAddress | Author email address | string | | MultiCloudPulumiProjectOptions.repositoryUrl | Git repository URL | string |

MLProject

High-level construct that generates a complete ML service with FastAPI, Docker, Helm, and Pulumi infrastructure.

| Class / Method | Description | Parameters | | :--- | :--- | :--- | | MLProject | Creates a complete ML service component | scope: TypeScriptProject, id: string, options: MLProjectOptions | | MLProjectOptions.projectName | Name of the ML service (lowercase alphanumeric and hyphens, e.g. data-analyzer) | string (required) | | MLProjectOptions.projectDescription | Human-readable service description | string (default: "ML Service: <projectName>") | | MLProjectOptions.awsRegion | AWS region for deployment | string (default: "us-east-1") | | MLProjectOptions.awsAccountId | AWS account ID for ECR image path | string (optional) | | MLProjectOptions.llmProvider | LLM provider to use | string (default: "bedrock") | | MLProjectOptions.imageRepository | Docker image repository name | string (default: "<projectName>-service") | | MLProjectOptions.enableHelmChart | Generate Helm chart for Kubernetes deployment | boolean (default: true) | | MLProjectOptions.enableMinikube | Generate GitHub Actions workflow for Minikube | boolean (default: true) | | MLProjectOptions.enableEks | Generate GitHub Actions workflow for AWS EKS | boolean (default: true) |

Generated Files

When you instantiate MLProject, the following files are generated in your project:

| File | Description | | :--- | :--- | | services/<name>/main.py | FastAPI application with AWS Bedrock LLM integration | | services/<name>/requirements.txt | Python dependencies | | services/<name>/test_main.py | Pytest unit and integration tests | | services/<name>/.env.example | Environment variable template (12-factor) | | services/<name>/Dockerfile | Multi-stage production Docker image | | services/<name>/.dockerignore | Docker build exclusions | | infrastructure/pulumi/<name>-eks.ts | Pulumi code for AWS EKS cluster provisioning | | infrastructure/pulumi/<name>-minikube.ts | Pulumi code for Minikube local deployment | | helm-charts/<name>/Chart.yaml | Helm chart metadata | | helm-charts/<name>/values.yaml | Helm chart default values | | helm-charts/<name>/templates/deployment.yaml | Kubernetes Deployment manifest | | helm-charts/<name>/templates/service.yaml | Kubernetes Service manifest | | .github/workflows/deploy-minikube-<name>.yml | CI/CD workflow for Minikube (if enableMinikube: true) | | .github/workflows/deploy-eks-<name>.yml | CI/CD workflow for AWS EKS (if enableEks: true) |

API Endpoints

Each generated FastAPI service provides:

| Endpoint | Method | Description | | :--- | :--- | :--- | | /health | GET | Health check endpoint | | /info | GET | Service information (name, region, provider) | | /analyze | POST | Analyze and rate content using LLM |

Example

# Health check
curl http://localhost:8000/health

# Analyze content
curl -X POST http://localhost:8000/analyze \
  -H "Content-Type: application/json" \
  -d '{"text": "Your content here..."}'

Local Development

Docker

cd services/data-analyzer
docker build -t data-analyzer:latest .
# Use AWS IAM roles or OIDC for production; credentials are fetched at runtime
# from AWS Secrets Manager – do NOT pass secret keys as environment variables.
docker run -p 8000:8000 \
  -e AWS_REGION=us-east-1 \
  data-analyzer:latest

Minikube

minikube start
eval $(minikube docker-env)
docker build -t data-analyzer:latest services/data-analyzer/
cd infrastructure/pulumi
pulumi stack init dev-minikube
pulumi up

AWS EKS Deployment

# Using Helm
helm upgrade --install data-analyzer ./helm-charts/data-analyzer \
  --namespace data-analyzer-prod \
  --create-namespace

# Using Pulumi
cd infrastructure/pulumi
pulumi stack init prod-eks
pulumi config set target eks
pulumi up

Running Tests

# TypeScript library tests
npm test

# Python service tests
pytest services/data-analyzer/test_main.py -v --cov

12-Factor Compliance

All generated services follow 12-factor app principles:

  • Configuration via environment variables (not hardcoded)
  • Secrets fetched from AWS Secrets Manager at runtime
  • Stateless processes with no local state

License

Apache 2.0