Skip to content

About

This is a simple Javascript API for makes working and manipulating cookies a breeze.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Awesome Cookie

This is a simple Javascript API that makes working and manipulating cookies a breeze.

Installation

npm install awesome-cookie

Import

import { setCookie, getCookie, removeCookie } from 'awesome-cookie';

setCookie('foo', 'bar');

Basic Usage

Create a cookie, valid across the entire site:

setCookie('name', 'value');

Read cookie:

getCookie('name');

Delete cookie:

removeCookie('name');

Author

License

MIT

About

This is a simple Javascript API for makes working and manipulating cookies a breeze.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages