https://github.com/asynched/xlambda
Run NodeJS lambdas locally, with minimum configuration. Supports both JavaScript and TypeScript files.
https://github.com/asynched/xlambda
aws lambda serverless
Last synced: 23 days ago
JSON representation
Run NodeJS lambdas locally, with minimum configuration. Supports both JavaScript and TypeScript files.
- Host: GitHub
- URL: https://github.com/asynched/xlambda
- Owner: asynched
- License: mit
- Created: 2023-08-10T20:36:17.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-10T20:49:12.000Z (almost 3 years ago)
- Last Synced: 2024-04-20T08:47:15.472Z (about 2 years ago)
- Topics: aws, lambda, serverless
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/xlambda
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xlambda
Run NodeJS lambdas locally, with minimum configuration. Supports both JavaScript and TypeScript files.
## Installation
```bash
npm i xlambda
```
## Configuration
Create a file named `.xlambdarc.json` in the root of your project, such as:
```json
{
"file": "src/my-handler.ts",
"path": "/my-handler/with/:custom/params",
"port": 3000
}
```
## Usage
Once the `.xlambdarc.json` file is configured, you can run:
```bash
npx xlambda
```