# @amphibian/delete-cookie

> delete browser cookie

Latest version **1.0.3** (published 2016-12-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @amphibian/delete-cookie
pnpm add @amphibian/delete-cookie
yarn add @amphibian/delete-cookie
bun add @amphibian/delete-cookie
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2016-12-20 |
| First published | 2016-12-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Thomas Lindstrom |
| Maintainers | amphibian |

## Links

- npm: https://www.npmjs.com/package/@amphibian/delete-cookie
- npm.io page: https://npm.io/package/@amphibian/delete-cookie

## Dependencies (2)

- [empty-string](https://npm.io/package/empty-string.md) ^1.1.1
- [@amphibian/write-cookie](https://npm.io/package/@amphibian/write-cookie.md) ^1.0.1

## Recent versions

- 1.0.3 (latest) — 2016-12-20
- 1.0.2 — 2016-12-14
- 1.0.1 — 2016-12-14

## README

# delete-cookie

[![build status](https://gitlab.com/thomaslindstr_m/delete-cookie/badges/master/build.svg)](https://gitlab.com/thomaslindstr_m/delete-cookie/commits/master)

delete browser cookie

```
npm install @amphibian/delete-cookie
```

## Arguments

### `name` **String**

Cookie name.

### `options` **Object**

Options for setting the cookie.

- `domain` **String**: Cookie domain. Current hostname without subdomains is the default, eg. `npmjs.org`.
- `path` **String**: Cookie path. `/` is the default.


## Example

```javascript
var deleteCookie = require('@amphibian/delete-cookie');

deleteCookie('test_cookie');

// By default, the cookie domain is set to the current hostname without
// subdomains included. Override this using the `domains` option
deleteCookie('test_cookie2', {
    domains: 'my-domain.com'
});
```

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