{"id":15314011,"url":"https://github.com/vanruesc/kukki","last_synced_at":"2025-04-04T03:44:27.629Z","repository":{"id":70175370,"uuid":"138657172","full_name":"vanruesc/kukki","owner":"vanruesc","description":"A simple cookie manager.","archived":false,"fork":false,"pushed_at":"2021-03-01T17:55:55.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T20:11:29.509Z","etag":null,"topics":["browser","client","cookie","manager","map","static"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanruesc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-06-25T22:38:25.000Z","updated_at":"2021-03-01T17:55:57.000Z","dependencies_parsed_at":"2023-02-25T11:16:28.730Z","dependency_job_id":null,"html_url":"https://github.com/vanruesc/kukki","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"84c37c2936ea78c71512c09f76dd84814821a34d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fkukki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fkukki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fkukki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fkukki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanruesc","download_url":"https://codeload.github.com/vanruesc/kukki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117746,"owners_count":20886439,"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","client","cookie","manager","map","static"],"created_at":"2024-10-01T08:44:10.120Z","updated_at":"2025-04-04T03:44:27.608Z","avatar_url":"https://github.com/vanruesc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kukki\n\n[![CI](https://badgen.net/github/checks/vanruesc/kukki/main)](https://github.com/vanruesc/kukki/actions)\n[![Version](https://badgen.net/npm/v/kukki?color=green)](https://www.npmjs.com/package/kukki)\n[![Dependencies](https://badgen.net/david/dep/vanruesc/kukki)](https://david-dm.org/vanruesc/kukki)\n\nA static cookie manager that behaves like a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map).\n\n*[Documentation](https://vanruesc.github.io/kukki)*\n\n\n## Installation\n\n```sh\nnpm install kukki\n``` \n\n\n## Usage\n\n```javascript\nimport { Kukki } from \"kukki\";\n\n// Create a new cookie.\nKukki.set(\"key\", \"value\");\nKukki.get(\"key\"); // =\u003e \"value\"\n\n// Create a persistent cookie.\nconst date = new Date();\ndate.setFullYear(date.getFullYear() + 2);\nKukki.set(\"persistentCookie\", \"persistentValue\", { expires: date });\n```\n\n\n## Contributing\n\nMaintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Fkukki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanruesc%2Fkukki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Fkukki/lists"}