New advertisers: 50% off your first month with code FIRSTMONTHSee slots
giuseppe-trisciuoglio avatar

Aws Lambda Typescript Integration

Patterns for TypeScript AWS Lambda functions, choosing between NestJS and raw TypeScript with cold start tuning.

skills.sh installs
3.8K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the NestJS versus raw TypeScript choice, comparing cold start, bundle size, and complexity for each approach
  • Includes project layouts, handler examples, instance caching, connection reuse, and env config validation
  • Enforces Lambda limits such as 250MB unzipped package size, 15-minute timeout, and 4KB environment variable total
  • Designed for API Gateway or ALB backends, with Serverless Framework and AWS SAM deployment templates included

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-lambda-typescript-integration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWS Lambda TypeScript Integration

Patterns for creating high-performance AWS Lambda functions in TypeScript with optimized cold starts.

Overview

Two approaches for TypeScript Lambda:

  1. NestJS Framework - Dependency injection, modular architecture, larger bundle (100KB+)
  2. Raw TypeScript - Minimal overhead, smaller bundle (<50KB), maximum control

Both support API Gateway and ALB integration.

When to Use

  • Creating new Lambda functions in TypeScript
  • Optimizing cold start performance
  • Choosing between NestJS and minimal TypeScript
  • Configuring API Gateway or ALB integration
  • Setting up CI/CD for TypeScript Lambda

Instructions

1. Choose Your Approach

ApproachCold StartBundle SizeBest ForComplexity
NestJS< 500msLarger (100KB+)Complex APIs, enterprise apps, DI neededMedium
Raw TypeScript< 100msSmaller (< 50KB)Simple handlers, microservices, minimal depsLow

2. Project Structure

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Backend & APIs, DevOps & Cloud
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Aws Lambda Typescript Integration

More Backend & APIs