New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lamba

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lamba

A wrapper over an Express server AWS SAM functions

latest
Source
npmnpm
Version
1.0.12
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

lamba

A tiny development web server that wraps over AWS lambda handlers

If you're tired of how slow sam local start-api is for local development, you can use lamba to serve local endpoints corresponding to the AWS SAM lambda handlers in your codebase. Thrown together in an afternoon -- still very much in development.

Usage

lamba [path_to_config=./lamba.json]

Configuration

Configuration happens through a lamba.json file. If one isn't passed as an argument, tries to default to a launch.json file in the current folder.

Example structure

{
  "port": 6987,
  "routes": [
      {
        "path": "/local_path_starting_with_slash",
        "endpoint": "/endpoint_starting_with_slash/:optional_path_param"
      },
    ...
  ]
  "env": [
    "key": "value",
    ...
  ]
}

License

Licensed under the MIT License. Made by Marko Calasan, 2023.

Keywords

aws

FAQs

Package last updated on 10 Aug 2023

Did you know?

Socket

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.

Install

Related posts