Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zkochan/easy-cookie
A small library for setting/getting/removing cookies.
https://github.com/zkochan/easy-cookie
Last synced: 10 days ago
JSON representation
A small library for setting/getting/removing cookies.
- Host: GitHub
- URL: https://github.com/zkochan/easy-cookie
- Owner: zkochan
- License: mit
- Created: 2015-07-14T19:22:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-25T19:48:45.000Z (about 8 years ago)
- Last Synced: 2024-11-25T07:38:49.362Z (28 days ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# easy-cookie
A small library for setting/getting/removing cookies.
[![Dependency Status](https://david-dm.org/zkochan/easy-cookie/status.svg?style=flat)](https://david-dm.org/zkochan/easy-cookie)
[![Build Status](https://travis-ci.org/zkochan/easy-cookie.svg?branch=master)](https://travis-ci.org/zkochan/easy-cookie)
[![npm version](https://badge.fury.io/js/easy-cookie.svg)](http://badge.fury.io/js/easy-cookie)## Installation
```
npm install --save easy-cookie
```## Usage
```js
var cookie = require('easy-cookie');cookie.set('foo', 'bar');
console.log(cooke.get('foo'));cookie.remove('foo');
console.log(cooke.get('foo'));
```## License
MIT