{"id":21985237,"url":"https://github.com/dahas/js-cookie-management","last_synced_at":"2026-05-01T02:32:54.988Z","repository":{"id":56961393,"uuid":"75302680","full_name":"dahas/JS-Cookie-Management","owner":"dahas","description":"A library to manage cookies with JavaScript.","archived":false,"fork":false,"pushed_at":"2018-10-20T10:05:23.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T05:15:39.814Z","etag":null,"topics":["cookie-management","cookie-manager","cookies"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dahas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-01T14:56:28.000Z","updated_at":"2021-03-19T09:24:06.000Z","dependencies_parsed_at":"2022-08-21T09:20:50.157Z","dependency_job_id":null,"html_url":"https://github.com/dahas/JS-Cookie-Management","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahas%2FJS-Cookie-Management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahas%2FJS-Cookie-Management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahas%2FJS-Cookie-Management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahas%2FJS-Cookie-Management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dahas","download_url":"https://codeload.github.com/dahas/JS-Cookie-Management/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044584,"owners_count":20551902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cookie-management","cookie-manager","cookies"],"created_at":"2024-11-29T18:13:11.724Z","updated_at":"2026-05-01T02:32:54.923Z","avatar_url":"https://github.com/dahas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Cookie Management\n\nA script to easily handle cookies.\n\n## Requirements\n\n- jQuery\n\n## Usage\n\n- Include the file after the jQuery library:\n\u003cpre\u003e\u0026lt;script src=\"[your_path]/cookie_mgmt.js\" type=\"text/javascript\"\u003e\u0026lt;/script\u003e\u003c/pre\u003e \n- Make an instance:\n\u003cpre\u003evar Cookie = new Cookie(name[, expDays, path]);\u003c/pre\u003e \n- Adding a value to the cookie (creates cookie, if it doesn´t exist):\n\u003cpre\u003eCookie.set(parameter, value);\u003c/pre\u003e \n- Reading a paramter from the cookie:\n\u003cpre\u003eCookie.get(parameter);\u003c/pre\u003e \n- Deleting a parameter and its value (removes the cookie, if no further parameters exist):\n\u003cpre\u003eCookie.clear(parameter);\u003c/pre\u003e \n- Remove the cookie:\n\u003cpre\u003eCookie.remove();\u003c/pre\u003e\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahas%2Fjs-cookie-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdahas%2Fjs-cookie-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdahas%2Fjs-cookie-management/lists"}