
Company News
Meet the Socket Team at RSAC and BSidesSF 2026
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.
create-mlpz-lambda
Advanced tools
An opinionated CLI tool for generating Node.js-based AWS Lambda projects.
My opinionated CLI tool for generating AWS Lambda projects with Node.js, providing a modern development experience with TypeScript, testing frameworks, and best practices I've refined over years of serverless development.
You are me. Or, you like the way I structure my Lambda projects and want to save time by using my template. Either way, thanks for checking this out.
# Using pnpm
pnpm add -g create-mlpz-lambda
# Using npm
npm install -g create-mlpz-lambda
# Using yarn
yarn global add create-mlpz-lambda
# Interactive mode
npx create-mlpz-lambda my-lambda-service
# Use my personal defaults (TypeScript, esbuild, Jest, PowerTools, AWS CDK)
npx create-mlpz-lambda my-lambda-service --yes
When running in interactive mode, you'll be prompted for:
The generated project follows my preferred organization pattern:
my-lambda-service/
├── src/
│ ├── handlers/ # Lambda function handlers
│ ├── services/ # Business logic
│ ├── utils/ # Utility functions
│ └── models/ # Type definitions and models
├── tests/
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
├── .eslintrc.js # ESLint configuration
├── .prettierrc # Prettier configuration
├── .gitignore # Git ignore file
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration (if applicable)
└── [deployment config] # Based on selected framework
After generating your project:
# Change into project directory
cd my-lambda-service
# Install dependencies
pnpm install # or npm install or yarn
# Development with hot reload
pnpm dev # or npm run dev or yarn dev
# Run tests
pnpm test # or npm test or yarn test
# Build for production
pnpm build # or npm run build or yarn build
# Deploy (if using a deployment framework)
pnpm deploy # or npm run deploy or yarn deploy
I was tired of repeating the same setup steps for every new Lambda project and wanted to codify my preferred patterns into something reusable. This tool embodies what I believe to be the ideal starting point for modern serverless Node.js applications on AWS.
This project uses Conventional Commits for automated versioning and release notes generation. A pre-commit hook is set up to enforce this format.
See COMMIT_CONVENTION.md for a quick reference guide to the commit format.
For more details on the release process, see RELEASING.md.
MIT License
Copyright (c) 2025 Mario Lopez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
FAQs
An opinionated CLI tool for generating Node.js-based AWS Lambda projects.
We found that create-mlpz-lambda demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.

Research
/Security News
OpenVSX releases of Aqua Trivy 1.8.12 and 1.8.13 contained injected natural-language prompts that abuse local AI coding agents for system inspection and potential data exfiltration.