Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Mar 15, 2015
1 parent 0ddd232 commit e2f29af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lambduh-transform-s3-event
Takes S3 event JSON, returns the bucket and key.

# usage
# Usage

```javascript
var Q = require('q');
Expand All @@ -28,5 +28,4 @@ exports.handler = function(event, context) {
}
```

This module takes s3 Event JSON and returns the source bucket and key of the event, either by attaching `.srcBucket` and `.srcKey` to a passed options object, or by creating a new options object if none is passed.

This module takes S3 Event JSON and returns the source `bucket` and `key` of the event, either by attaching `.srcBucket` and `.srcKey` to a passed options object, or, if none is passed, by creating a new one.

0 comments on commit e2f29af

Please sign in to comment.