Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

popsicle-cookie-jar

1.0.0 • Public • Published

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

Install

npm i popsicle-cookie-jar

DownloadsWeekly Downloads

11,146

Version

1.0.0

License

MIT

Unpacked Size

15.3 kB

Total Files

9

Last publish

Collaborators

  • avatar