Skip to content

Popsicle middleware for supporting cookies in node.js

License

Notifications You must be signed in to change notification settings

RafaelPAndrade/popsicle-cookie-jar

 
 

Repository files navigation

Popsicle Cookie Jar

NPM version NPM downloads Build status Test coverage

Popsicle middleware for supporting cookies in node.js.

Installation

npm install popsicle-cookie-jar --save

Usage

import { cookies, CookieJar } from "popsicle-cookie-jar";

const middleware = compose([cookies(), transport()]);

The only argument to cookies is an optional CookieJar instance. By default, it will create an in-memory instance for you.

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

MIT

About

Popsicle middleware for supporting cookies in node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%