2.0.1 • Published 4 years ago

kukki v2.0.1

Weekly downloads
2
License
Zlib
Repository
github
Last release
4 years ago

Kukki

CI Version Dependencies

A static cookie manager that behaves like a Map.

Documentation

Installation

npm install kukki

Usage

import { Kukki } from "kukki";

// Create a new cookie.
Kukki.set("key", "value");
Kukki.get("key"); // => "value"

// Create a persistent cookie.
const date = new Date();
date.setFullYear(date.getFullYear() + 2);
Kukki.set("persistentCookie", "persistentValue", { expires: date });

Contributing

Maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

2.0.1

4 years ago

2.0.0

4 years ago

1.1.0

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago