{"id":19244829,"url":"https://github.com/conedevelopment/qkie","last_synced_at":"2025-04-21T09:33:45.315Z","repository":{"id":200675072,"uuid":"680065977","full_name":"conedevelopment/qkie","owner":"conedevelopment","description":"qkie is a simple and lightweight JavaScript package for managing cookies in the browser.","archived":false,"fork":false,"pushed_at":"2025-01-20T08:34:21.000Z","size":30,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T12:49:14.713Z","etag":null,"topics":["cookie","javascript","javascript-library"],"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/conedevelopment.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["iamgergo","adamlaki"]}},"created_at":"2023-08-18T09:01:55.000Z","updated_at":"2025-01-22T21:55:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f10f4cc5-2899-4755-9187-a65ab1988ab8","html_url":"https://github.com/conedevelopment/qkie","commit_stats":null,"previous_names":["conedevelopment/qkie"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conedevelopment%2Fqkie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conedevelopment%2Fqkie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conedevelopment%2Fqkie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conedevelopment%2Fqkie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conedevelopment","download_url":"https://codeload.github.com/conedevelopment/qkie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248822628,"owners_count":21167087,"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","javascript","javascript-library"],"created_at":"2024-11-09T17:25:19.367Z","updated_at":"2025-04-21T09:33:40.302Z","avatar_url":"https://github.com/conedevelopment.png","language":"JavaScript","funding_links":["https://github.com/sponsors/iamgergo","https://github.com/sponsors/adamlaki"],"categories":[],"sub_categories":[],"readme":"# qkie - Simple cookie management\n\n## Installation\n\n```sh\nnpm install @conedevelopment/qkie\n\n# or\n\nyarn add @conedevelopment/qkie\n```\n\n## Usage\n\n```js\nimport Cookie from '@conedevelopment/qkie';\n\nconst handler = new Cookie();\n```\n\n### Writing Cookies\n\n```js\nhandler.set('theme', 'dark');\n\n// Passing extra options\nhandler.set('theme', 'dark', new Date('2024-10-10'), '/', {\n    SameSite: 'Lax',\n    Secure: true,\n});\n```\n\n### Reading Cookies\n\n```js\nlet theme = handler.get('theme');\n\n// With default value\n\nlet theme = handler.get('theme', 'dark');\n```\n\n### Checking Cookies\n\n```js\nif (handler.isset('theme')) {\n    //\n}\n```\n\n### Deleting Cookies\n\n```js\nhandler.remove('theme');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconedevelopment%2Fqkie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconedevelopment%2Fqkie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconedevelopment%2Fqkie/lists"}