# popsicle-cookie-jar

> Popsicle middleware for supporting cookies in node.js

Latest version **1.0.1** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install popsicle-cookie-jar
pnpm add popsicle-cookie-jar
yarn add popsicle-cookie-jar
bun add popsicle-cookie-jar
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-11-21 |
| First published | 2019-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 15.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | popsicle, cookies, jar, memory, store |

## Links

- npm: https://www.npmjs.com/package/popsicle-cookie-jar
- Repository: https://github.com/serviejs/popsicle-cookie-jar
- Issues: https://github.com/serviejs/popsicle-cookie-jar/issues
- npm.io page: https://npm.io/package/popsicle-cookie-jar

## Dependencies (2)

- [tough-cookie](https://npm.io/package/tough-cookie.md) ^4.1.3
- [@types/tough-cookie](https://npm.io/package/@types/tough-cookie.md) ^4.0.2

## Recent versions

- 1.0.1 (latest) — 2023-11-21
- 1.0.0 — 2019-06-11

## README

# Popsicle Cookie Jar

[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]

Popsicle middleware for supporting cookies in node.js.

## Installation

```
npm install popsicle-cookie-jar --save
```

## Usage

```js
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](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.

## License

MIT

[npm-image]: https://img.shields.io/npm/v/popsicle-cookie-jar.svg?style=flat
[npm-url]: https://npmjs.org/package/popsicle-cookie-jar
[downloads-image]: https://img.shields.io/npm/dm/popsicle-cookie-jar.svg?style=flat
[downloads-url]: https://npmjs.org/package/popsicle-cookie-jar
[travis-image]: https://img.shields.io/travis/serviejs/popsicle-cookie-jar.svg?style=flat
[travis-url]: https://travis-ci.org/serviejs/popsicle-cookie-jar
[coveralls-image]: https://img.shields.io/coveralls/serviejs/popsicle-cookie-jar.svg?style=flat
[coveralls-url]: https://coveralls.io/r/serviejs/popsicle-cookie-jar?branch=master

---
_Source: https://npm.io/package/popsicle-cookie-jar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
