Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sabrydawood/app-cookie
- Owner: sabrydawood
- License: mit
- Created: 2022-11-21T19:18:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-21T19:24:57.000Z (about 2 years ago)
- Last Synced: 2024-11-25T03:26:14.999Z (about 1 month ago)
- Language: JavaScript
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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