# cookies **Repository Path**: mirrors_ibm/cookies ## Basic Information - **Project Name**: cookies - **Description**: Small wrapper library to work with cookies - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2025-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cookies.js Proves simple CRUD operations for cookies in browsers ## Installation `$ yarn add https://github.com/IBM/cookies.git` ## How to use ```javascript import Cookies from "cookies"; Cookies.set("mykey", "myvalue", 1); // Set for 1 day const res = Cookies.get("mykey"); // Read cookie console.log(res); // Prints "myvalue" Cookies.erase("mykey"); // Delete cookie ```