
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
aws-lambda-rie-http
Advanced tools
A Lambda Runtime Interface Emulator simulating a HTTP server.
$ npm install --save-dev aws-lambda-rie-http
$ npx aws-lambda-rie-http app.handler
app.handler listening on 127.0.0.1:3000
# path/to/your.js
# `module.exports.handler = function handler(event, context) { ... }`
# `export function handler(event, context) { ... }`
$ npx aws-lambda-rie-http path/to/your.handler
path/to/your.handler listening on 127.0.0.1:3000
aws-lambda-rie-http <lambda.handler> [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--host HTTP server host to bind to
[string] [default: "127.0.0.1"]
--port HTTP server port [number] [default: 3000]
--event-format, --eventFormat
[string] [choices: "LAMBDA_FUNCTION_EVENT",
"API_GATEWAY_PROXY_EVENT_1.0", "API_GATEWAY_PROXY_EVENT_2.0"]
[default: "LAMBDA_FUNCTION_EVENT"]
--context-format, --contextFormat
[string] [choices: "LAMBDA_CONTEXT"] [default: "LAMBDA_CONTEXT"]
# path/to/your.ts
# `export function handler(event: ..., context: ...): Promise<...> { ... }`
$ npx ts-node ./node_modules/.bin/aws-lambda-rie-http path/to/your.handler
path/to/your.handler listening on 127.0.0.1:3000
Any questions or suggestions please open an issue.
FAQs
Simulate HTTP requests to your Lambda function handlers
We found that aws-lambda-rie-http demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.