Skip to content

Commit 9eabe39

Browse files
author
Max Kolodezniy
committed
Add more comprehensive description
1 parent 0cc3c86 commit 9eabe39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ Run AWS Lambda function locally!
1010
```
1111

1212
## Usage
13-
Just specify function name (can be in nested directory), `event` object file.
14-
Optionally you also may replace default `context` object and timeout (30 seconds by default).
13+
Just specify `function name` (can be in nested directory), `event` object file.
14+
Optionally you also may replace default `context` object and `timeout` (30 seconds by default).
1515
```
1616
$ cat function.js
1717
exports.handler = function(event, context)
1818
{
1919
context.done(event, context);
2020
};
2121
22-
$ aws-lambda-local git:(master) ✗ cat event.json
22+
$ cat event.json
2323
{
2424
"obj" : { "a" : "b" },
2525
"int" : 1,
2626
"str" : "qwerty",
2727
"arr" : [1, 2, 3, 4]
2828
}
2929
30-
$ aws-lambda-local git:(master) ✗ ./lambda-local.js -f function -e event.json -t 20
30+
$ ./lambda-local.js -f function -e event.json -t 20
3131
ERROR
3232
--------------------------------
3333
{

0 commit comments

Comments
 (0)