geoffdutton / lambda-proxy-utils Goto Github PK
View Code? Open in Web Editor NEWLambda event helpers for AWS API Gateway lambda-proxy integration
License: MIT License
Lambda event helpers for AWS API Gateway lambda-proxy integration
License: MIT License
If I try to response.send("a string"), the library will throw a json parse error.
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet.
We recommend using:
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
I want to set multiple cookie with max-age how can I do that? Thanks!
Sending a JSON response automatically sets the response header to application/json
. However, it does not allow me to set a charset on it: application/json; charset=utf-8
.
How can I achieve it?
The use case for .getLambdaEvent()
is for verifying the digest of the original event. The purpose of the method is to make it clearly public rather than accessing .rawLambdaEvent
.
Hello,
I've been porting lambda-proxy-utils
to Typescript. I was thinking of writing @types definitions, but this is such a nice little tool I'd rather see it being fully Typescript. As of right now, it has a few lint issues and a broken dependency (i think). There are also 13 @ts-ignore
in the classes, those need to be looked at. I've used gts.
type-is
bugI got carried away on the Response class, so all options
are now written as one variable. We can revert back to the way @geoffdutton has done it. As of yet I have not submitted a pull request, since it's not perfect.
I changed from NPM to Yarn – not really a requirement either, i guess.
Have a look at bjerkio/lambda-proxy-utils.
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.