UNPKG

@sophat/cookies

Version:

This project provides a set of utility functions for interacting with browser cookies. The `Cookies` class offers methods to set, get, update, remove, and clear cookies, as well as retrieve all cookie keys.

55 lines (54 loc) 1.64 kB
{ "name": "@sophat/cookies", "version": "0.2.6", "description": "This project provides a set of utility functions for interacting with browser cookies. The `Cookies` class offers methods to set, get, update, remove, and clear cookies, as well as retrieve all cookie keys.", "main": "./dist/index.js", "exports": { ".": "./dist/index.js", "./hooks": "./dist/hooks/useCookies.js", "./cookie": "./dist/cookie/index.js", "./windows": "./dist/windows/CookiesWindow.js" }, "type": "module", "scripts": { "build": "tsc", "prepare": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/pphatdev/cookies.git" }, "author": "pphatdev <info.sophat@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/pphatdev/cookies/issues" }, "publishConfig": { "registry": "https://npm.pkg.github.com", "access": "public" }, "homepage": "https://github.com/pphatdev/cookies#readme", "keywords": [ "cookies", "browser-cookies", "cookie-management", "web-storage", "javascript-cookies", "typescript", "cookie-utility", "cookie-handler", "browser-storage", "client-storage", "web-cookies", "cookie-parser", "cookie-setter", "cookie-getter" ], "devDependencies": { "@types/node": "^22.10.7", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.3" } }