Skip to content

Commit 56fedf4

Browse files
committed
remove some emojis
1 parent 5324d82 commit 56fedf4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# lambda-hooks ⚓️
1+
# lambda-hooks
22

33
**Super lightweight module to _hook_ into the execution of your Node.js lambda functions**
44

55
Lambda Hooks help avoid repeated logic in your lambda functions. Use some of the provided hooks or easily create your own. They are just functions that can be executed before, after or when an error occurs.
66

77
## Principles
88

9-
- Zero dependancies 🚫
10-
- Fast & simple to use 🛤
11-
- First class support for TypeScript & ES7+ JavaScript 🤓
9+
- Zero dependancies
10+
- Fast & simple to use
11+
- First class support for TypeScript & ES7+ JavaScript
1212

1313
## Motivation
1414

@@ -230,7 +230,7 @@ export const lambda = withApiHooks(handler, { requestSchema: schema })
230230

231231
- **Write your own hooks.** It's really easy to do. If you're migrating an existing project over, the logic will barely change. Just remember, create a function (HookCreator) that returns another function (HookHandler). The HookCreator takes an optional config object. The HookHandler takes the state as input and also returns the state. And, that is all you need to know!
232232

233-
Feel free to share any hooks you make by submitting a PR 😉 and, here's a boilerplate hook (that does absolutely nothing) to get you started:
233+
Feel free to share any hooks you make by submitting a PR, and here's a boilerplate hook (that does absolutely nothing) to get you started:
234234

235235
```javascript
236236
export const myNewHook = () => async state => {

0 commit comments

Comments
 (0)