Skip to content

pambda/pambda-cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published