@jim-brighter/lambda-local-runner 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,3 +4,14 @@ Super simple cli tool for running NodeJS lambda functions locally as a server.
4
4
  Does not attempt to run any kind of gateway or load balancing layer.
5
5
 
6
6
  Uses [jiti](https://www.npmjs.com/package/jiti) for universal compatibility.
7
+
8
+ ### Usage
9
+ Provide the handler filename and function
10
+ ```bash
11
+ npx lambda-local-runner index.js main
12
+ ```
13
+
14
+ Defaults to function name "handler" if none provided:
15
+ ```bash
16
+ npx lambda-local-runner main.ts
17
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jim-brighter/lambda-local-runner",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Simple CLI tool to run a lambda handler locally",
5
5
  "homepage": "https://github.com/jim-brighter/lambda-local-runner#readme",
6
6
  "bugs": {