Cookie parser for Pambda.
npm i pambda-cookie
const { compose, createLambda } = require('pambda');
const { cookie } = require('pambda-cookie');
export const handler = createLambda(
compose(
cookie({}),
next => (event, context, callback) => {
// Do something with event.cookies.
}
)
);
MIT