Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sabrydawood/app-cookie

A small library for setting/getting/removing cookies.
https://github.com/sabrydawood/app-cookie

Last synced: about 1 month ago
JSON representation

A small library for setting/getting/removing cookies.

Awesome Lists containing this project

README

        

# app-cookie

A small library for setting/getting/removing cookies.

[![npm version](https://badge.fury.io/js/app-cookie.svg)](http://badge.fury.io/js/app-cookie)

## Installation

```
npm install app-cookie
yarn add app-cookie
```

## Usage

```js
var cookie = require('app-cookie');

cookie.set('foo', 'bar');
console.log(cooke.get('foo'));

cookie.remove('foo');
console.log(cooke.get('foo'));
```
### Easy 😜

## License

MIT