pambda-cookie
v0.1.1
Published
Cookie parsing pambda
Downloads
3
Readme
pambda-cookie
Cookie parser for Pambda.
Installation
npm i pambda-cookie
Usage
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.
}
)
);
License
MIT