{"id":15756959,"url":"https://github.com/jongha/cookie-js","last_synced_at":"2025-03-31T08:26:06.452Z","repository":{"id":16060757,"uuid":"18804983","full_name":"jongha/cookie-js","owner":"jongha","description":"A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a small piece of data sent from a website and stored in a user's web browser while the user is browsing that website. This script will help to be available more easily to utilize cookies.","archived":false,"fork":false,"pushed_at":"2014-04-18T02:35:40.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T07:59:12.341Z","etag":null,"topics":["browser-cookie","cookie","http-cookies","javascript"],"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/jongha.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":"2014-04-15T15:23:18.000Z","updated_at":"2020-05-24T16:39:34.000Z","dependencies_parsed_at":"2022-09-04T15:12:55.760Z","dependency_job_id":null,"html_url":"https://github.com/jongha/cookie-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fcookie-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fcookie-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fcookie-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fcookie-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongha","download_url":"https://codeload.github.com/jongha/cookie-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246438495,"owners_count":20777431,"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":["browser-cookie","cookie","http-cookies","javascript"],"created_at":"2024-10-04T09:03:29.853Z","updated_at":"2025-03-31T08:26:06.434Z","avatar_url":"https://github.com/jongha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cookie-js\n\nA cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a small piece of data sent from a website and stored in a user's web browser while the user is browsing that website. This script will help to be available more easily to utilize cookies.\n\n## Usage\n\nInsert script block first.\n\n```\n\u003cscript src=\"./dist/cookie.min.js\"\u003e\u003c/script\u003e\n```\n\n### Description\n\nGet and set the cookies associated with the current document.\n\n```\ncookieAPI.get(key)\n```\n\n* key: is A string naming the piece of cookie to set.\n\n```\ncookieAPI.set(key, values, expires)\n```\n\n* key: is A string naming the piece of cookie to set.\n* value: The new cookie value.\n* expires: Expire date of cookie.\n\nClear all cookies.\n\n```\ncookieAPI.clear()\n```\n\n## License\n\ncookie-js is available under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fcookie-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongha%2Fcookie-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fcookie-js/lists"}