{"id":16326666,"url":"https://github.com/chrisyip/browser-cookie.js","last_synced_at":"2025-05-14T22:12:21.485Z","repository":{"id":15124599,"uuid":"17851620","full_name":"chrisyip/browser-cookie.js","owner":"chrisyip","description":"Access browser's cookies easier.","archived":false,"fork":false,"pushed_at":"2014-09-16T08:32:24.000Z","size":186,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T22:12:20.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chrisyip.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-03-18T02:49:56.000Z","updated_at":"2015-03-17T02:06:54.000Z","dependencies_parsed_at":"2022-08-30T16:11:24.558Z","dependency_job_id":null,"html_url":"https://github.com/chrisyip/browser-cookie.js","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyip%2Fbrowser-cookie.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyip%2Fbrowser-cookie.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyip%2Fbrowser-cookie.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyip%2Fbrowser-cookie.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisyip","download_url":"https://codeload.github.com/chrisyip/browser-cookie.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235712,"owners_count":22036966,"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":[],"created_at":"2024-10-10T23:09:14.216Z","updated_at":"2025-05-14T22:12:21.459Z","avatar_url":"https://github.com/chrisyip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cookie.js\n\nAccess browser's cookies easier.\n\n# How to use\n\n```js\n// change default settings\nCookie.setup({\n  domain: 'mydomain.com', // current domain, default\n  path: '/path/to/store', // `/`, by default\n  expires: 3600, // accept string, number and date object\n  secure: true // `false`, by default\n});\n\nCookie.set('name', 'John Doe', {\n  expires: '2015-1-1'\n});\n\nCookie.get('name'); // `John Doe`;\n\nCookie.set('lang', 'JavaScript');\n\nCookie.keys(); // `['name', 'lang']`\n\nCookie.has('gender'); // `false`\n\nCookie.remove('lang');\n\nCookie.keys(); // `['name']`\n\nCookie.noConflict();\n```\n\n# Gulp task\n\n`build` (alias `default`): compile ES6 script to ES5 with [gulp-traceur](https://github.com/sindresorhus/gulp-traceur).\n\n`watch`: help developing script.\n\n# To-do\n\n- JSHint\n- Jasmine\n- Testing with connect\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyip%2Fbrowser-cookie.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisyip%2Fbrowser-cookie.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyip%2Fbrowser-cookie.js/lists"}