Skip to content

Commit 0b753d8

Browse files
committed
sponsor update
1 parent b73ca0f commit 0b753d8

File tree

1 file changed

+47
-24
lines changed

1 file changed

+47
-24
lines changed

README.md

Lines changed: 47 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,43 +44,56 @@ You may have heard that a serverless "best practice" is to keep your functions s
4444
Whatever you decide is best for your use case, **Lambda API** is there to support you. Whether your function has over a hundred routes, or just one, Lambda API's small size and lightning fast load time has virtually no impact on your function's performance. You can even define global wildcard routes that will process any incoming request, allowing you to use API Gateway or ALB to determine the routing. Yet despite its small footprint, it gives you the power of a full-featured web framework.
4545

4646
## Table of Contents
47+
- [Simple Example](#simple-example)
48+
- [Why Another Web Framework?](#why-another-web-framework)
49+
- [Single Purpose Functions](#single-purpose-functions)
50+
- [Table of Contents](#table-of-contents)
4751
- [Installation](#installation)
4852
- [Requirements](#requirements)
4953
- [Configuration](#configuration)
5054
- [Recent Updates](#recent-updates)
55+
- [v0.10: ALB support, method-based middleware, and multi-value headers and query string parameters](#v010-alb-support-method-based-middleware-and-multi-value-headers-and-query-string-parameters)
56+
- [v0.9: New error types, custom serializers, and TypeScript support](#v09-new-error-types-custom-serializers-and-typescript-support)
57+
- [v0.8: Logging support with sampling](#v08-logging-support-with-sampling)
58+
- [v0.7: Restrict middleware execution to certain paths](#v07-restrict-middleware-execution-to-certain-paths)
59+
- [v0.6: Support for both `callback-style` and `async-await`](#v06-support-for-both-callback-style-and-async-await)
60+
- [v0.5: Remove Bluebird promises dependency](#v05-remove-bluebird-promises-dependency)
61+
- [v0.4: Binary support](#v04-binary-support)
62+
- [v0.3: New instantiation method](#v03-new-instantiation-method)
5163
- [Routes and HTTP Methods](#routes-and-http-methods)
5264
- [Returning Responses](#returning-responses)
5365
- [Async/Await](#asyncawait)
5466
- [Promises](#promises)
67+
- [A Note About Flow Control](#a-note-about-flow-control)
5568
- [Route Prefixing](#route-prefixing)
5669
- [Debugging Routes](#debugging-routes)
5770
- [REQUEST](#request)
5871
- [RESPONSE](#response)
59-
- [attachment()](#attachmentfilename)
60-
- [cache()](#cacheage--private)
61-
- [clearCookie()](#clearcookiename-options)
62-
- [cookie()](#cookiename-value-options)
63-
- [cors()](#corsoptions)
64-
- [download()](#downloadfile--filename--options--callback)
65-
- [error()](#errorcode-message-detail)
66-
- [etag()](#etagboolean)
67-
- [getHeader()](#getheaderkey-value--asarray)
72+
- [status(code)](#statuscode)
73+
- [sendStatus(code)](#sendstatuscode)
74+
- [header(key, value [,append])](#headerkey-value-append)
75+
- [getHeader(key [,asArray])](#getheaderkey-asarray)
6876
- [getHeaders()](#getheaders)
69-
- [getLink()](#getlinks3path-expires-callback)
70-
- [hasHeader()](#hasheaderkey)
71-
- [header()](#headerkey-value--append)
72-
- [html()](#htmlbody)
73-
- [json()](#jsonbody)
74-
- [jsonp()](#jsonpbody)
75-
- [location](#locationpath)
76-
- [modified()](#modifieddate)
77-
- [redirect()](#redirectstatus-path)
78-
- [removeHeader()](#removeheaderkey)
79-
- [send()](#sendbody)
80-
- [sendFile()](#sendfilefile--options--callback)
81-
- [sendStatus()](#sendstatuscode)
82-
- [status()](#statuscode)
83-
- [type()](#typetype)
77+
- [hasHeader(key)](#hasheaderkey)
78+
- [removeHeader(key)](#removeheaderkey)
79+
- [getLink(s3Path [, expires] [, callback])](#getlinks3path--expires--callback)
80+
- [send(body)](#sendbody)
81+
- [json(body)](#jsonbody)
82+
- [jsonp(body)](#jsonpbody)
83+
- [html(body)](#htmlbody)
84+
- [type(type)](#typetype)
85+
- [location(path)](#locationpath)
86+
- [redirect([status,] path)](#redirectstatus-path)
87+
- [cors([options])](#corsoptions)
88+
- [error([code], message [,detail])](#errorcode-message-detail)
89+
- [cookie(name, value [,options])](#cookiename-value-options)
90+
- [clearCookie(name [,options])](#clearcookiename-options)
91+
- [etag([boolean])](#etagboolean)
92+
- [cache([age] [, private])](#cacheage--private)
93+
- [modified(date)](#modifieddate)
94+
- [attachment([filename])](#attachmentfilename)
95+
- [download(file [, filename] [, options] [, callback])](#downloadfile--filename--options--callback)
96+
- [sendFile(file [, options] [, callback])](#sendfilefile--options--callback)
8497
- [Enabling Binary Support](#enabling-binary-support)
8598
- [Path Parameters](#path-parameters)
8699
- [Wildcard Routes](#wildcard-routes)
@@ -94,6 +107,9 @@ Whatever you decide is best for your use case, **Lambda API** is there to suppor
94107
- [Serializers](#serializers)
95108
- [Sampling](#sampling)
96109
- [Middleware](#middleware)
110+
- [Restricting middleware execution to certain path(s)](#restricting-middleware-execution-to-certain-paths)
111+
- [Specifying multiple middleware](#specifying-multiple-middleware)
112+
- [Method-based middleware](#method-based-middleware)
97113
- [Clean Up](#clean-up)
98114
- [Error Handling](#error-handling)
99115
- [Error Types](#error-types)
@@ -104,9 +120,11 @@ Whatever you decide is best for your use case, **Lambda API** is there to suppor
104120
- [Lambda Proxy Integration](#lambda-proxy-integration)
105121
- [ALB Integration](#alb-integration)
106122
- [Configuring Routes in API Gateway](#configuring-routes-in-api-gateway)
123+
- [Reusing Persistent Connections](#reusing-persistent-connections)
107124
- [TypeScript Support](#typescript-support)
108125
- [Sponsors](#sponsors)
109126
- [Contributions](#contributions)
127+
- [Are you using Lambda API?](#are-you-using-lambda-api)
110128

111129
## Installation
112130
```
@@ -1376,6 +1394,11 @@ exports.run = async (event: APIGatewayEvent, context: Context) => {
13761394
}
13771395
```
13781396

1397+
## Sponsors
1398+
1399+
[![New Relic](https://user-images.githubusercontent.com/2053544/96728664-55238700-1382-11eb-93cb-82fe7cb5e043.png)](https://ad.doubleclick.net/ddm/trackclk/N1116303.3950900PODSEARCH.COM/B24770737.285235234;dc_trk_aid=479074825;dc_trk_cid=139488579;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755})
1400+
<IMG SRC="https://ad.doubleclick.net/ddm/trackimp/N1116303.3950900PODSEARCH.COM/B24770737.285235234;dc_trk_aid=479074825;dc_trk_cid=139488579;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755}?" BORDER="0" HEIGHT="1" WIDTH="1" ALT="Advertisement">
1401+
13791402
## Contributions
13801403
Contributions, ideas and bug reports are welcome and greatly appreciated. Please add [issues](https://github.com/jeremydaly/lambda-api/issues) for suggestions and bug reports or create a pull request.
13811404

0 commit comments

Comments
 (0)