Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joduplessis/cookied
Easy cookie management.
https://github.com/joduplessis/cookied
cookie rollup typescript
Last synced: 14 days ago
JSON representation
Easy cookie management.
- Host: GitHub
- URL: https://github.com/joduplessis/cookied
- Owner: joduplessis
- License: mit
- Created: 2018-02-25T11:02:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T09:11:25.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T17:52:11.516Z (2 months ago)
- Topics: cookie, rollup, typescript
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Cookied
## Easy cookie management with JSModule in progress, expect hickups.
### Installation
Install the package via GitHub with `npm install https://github.com/joduplessis/Cookied.git` or `yarn add https://github.com/joduplessis/Cookied.git`.
### Usage
This example assumes ES6 usage.
```
import { Cookied } from 'cookied';// Instantiate the class
const cookied = new Cookied();cookied.setCookie("COOKIED", "NICE");
cookied.getCookie("COOKIED");
cookied.deleteCookie("COOKIED");
```