
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A powerful CLI tool for creating Lambda Container Service projects from templates with interactive configuration and automatic setup.
A powerful CLI tool for creating Lambda Container Service projects from templates with interactive configuration and automatic setup.
npm install -g create-lcs
# or
pnpm add -g create-lcs
# or
yarn global add create-lcs
# Create a new Lambda Container Service project
create-lcs
# Preview what would be created (dry-run mode)
create-lcs --dry-run
The tool will guide you through an interactive setup process:
Basic templates that include:
Templates with setup.sh, setup.js, and .lcsconf.schema.json files that provide:
When a template includes a .lcsconf.schema.json file, the tool automatically:
.lcsconf.json with your configurationpnpm setup to apply template-specific customizations{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Lambda Container Service Configuration",
"type": "object",
"required": ["project", "aws", "branding"],
"properties": {
"project": {
"type": "object",
"required": ["name", "description"],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9-]+$",
"description": "Project name (lowercase, hyphens only)"
},
"description": {
"type": "string",
"description": "Project description"
}
}
},
"aws": {
"type": "object",
"required": ["accountId", "region"],
"properties": {
"accountId": {
"type": "string",
"pattern": "^[0-9]{12}$",
"description": "AWS Account ID (12 digits)"
},
"region": {
"type": "string",
"description": "Primary AWS region"
}
}
}
}
}
--dry-run - Preview what would be created without making any changes^[0-9]{12}$) - Validates 12-digit AWS account IDs^[a-z0-9-]+$) - Lowercase letters, numbers, and hyphens only^#[0-9a-fA-F]{6}$) - Valid hex color codesformat: "uri") - Valid URL format validationaws.environments.production)The tool intelligently handles template files:
node_modules, .git, dist, .vscode, .example filesREADME.md as ORIGINAL_README.mdtodo.md as ORIGINAL_todo.mdsetup.sh, setup.js, .lcsconf.schema.json) separatelyThe tool generates:
README.md - Project-specific documentationtodo.md - Setup instructions for missing configurations.lcsconf.json - Template configuration (if schema present)$ create-lcs
Welcome to create-lcs!
? Which template would you like to use? ›
❯ phenixcoder/lambda-container-service
phenixcoder/lambda-container-service-nest
? Where would you like to create your lambda-container-service project? › my-lcs-service
? What is the name of your service? › my-service
? Do you already have your AWS credentials details? › Yes
? What is your AWS Region? › us-east-1
? What is your AWS IAM Role ARN for OIDC authentication? › arn:aws:iam::123456789012:role/GitHubActionsRole
When a template has a schema, you'll see additional prompts:
Template Configuration:
Please provide the following configuration details for this template:
? [PROJECT] Project name (lowercase, hyphens only): › my-awesome-service
? [PROJECT] Project description: › My awesome Lambda container service
? [AWS] AWS Account ID (12 digits): › 123456789012
? [AWS] Primary AWS region: › us-east-1
? [BRANDING] Service display name for UI: › My Awesome Service
? [BRANDING] Primary brand color (hex): › #FF5733
Generated .lcsconf.json with your configuration.
Running template setup...
Template setup completed successfully.
$ create-lcs --dry-run
Welcome to create-lcs!
Running in dry-run mode. No files will be created or modified.
# ... interactive prompts ...
Dry run: Would clone template repository from https://github.com/phenixcoder/lambda-container-service.git to /tmp/temp-template
Dry run: Would create project directory /current/dir/my-lcs-service
Dry run: Would copy template files...
Dry run: Would set up LCS configuration with schema-based prompts and run pnpm setup
To create a template that supports advanced configuration:
Add setup files to your template:
setup.sh - Shell script for setup taskssetup.js - Node.js script for file modifications.lcsconf.schema.json - JSON schema defining configurationDefine your schema following JSON Schema Draft 7:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Your Template Configuration",
"description": "Configuration for your template",
"type": "object",
"required": ["requiredSection"],
"properties": {
"requiredSection": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "Field description for users"
}
}
}
}
}
Implement setup logic in setup.js:
const fs = require('fs-extra');
const config = require('./.lcsconf.json');
// Use config values to modify template files
console.log(`Setting up ${config.project.name}...`);
Add package.json script:
{
"scripts": {
"setup": "node setup.js"
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
MIT
FAQs
A powerful CLI tool for creating Lambda Container Service projects from templates with interactive configuration and automatic setup.
We found that create-lcs 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.