Javascript Cookie - rvdegroen/notes GitHub Wiki

Table of Contents

What is Javascript Cookie?

This Github repository describes Javascript Cookie as a "simple and lightweight JavaScript API for handling cookies".

It also states that it works in all browsers, it accepts any character, it's heavily tested, it has no dependencies, it Supports ES modules and CommonJS, it's fairly small in size (< 800 bytes) and it enables custom encoding/decoding.

How can you use Javascript Cookie?

First you have to type $ npm i js-cookie in the terminal of your project folder. More on how to use it, you can read on this Github repository.