{"id":16986739,"url":"https://github.com/maxigimenez/keepit","last_synced_at":"2026-07-03T18:01:57.839Z","repository":{"id":58245990,"uuid":"21370671","full_name":"maxigimenez/keepit","owner":"maxigimenez","description":"localStorage wrapper with expiration time","archived":false,"fork":false,"pushed_at":"2015-07-14T07:45:44.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T21:05:59.664Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxigimenez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-01T00:49:54.000Z","updated_at":"2014-07-01T00:50:46.000Z","dependencies_parsed_at":"2022-08-31T04:23:00.440Z","dependency_job_id":null,"html_url":"https://github.com/maxigimenez/keepit","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/maxigimenez%2Fkeepit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fkeepit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fkeepit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxigimenez%2Fkeepit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxigimenez","download_url":"https://codeload.github.com/maxigimenez/keepit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894322,"owners_count":20527677,"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-14T02:46:46.402Z","updated_at":"2025-10-16T15:02:42.302Z","avatar_url":"https://github.com/maxigimenez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"keepit\n====================\n\nIs a minimal API wrapper for localStorage with the big featured of set data with expiration time expressed in hours.\n\n##Download\n\nThe source is available for download from [Github](https://github.com/maxigimenez/keepit), and you can using [Bower](http://bower.io/).\n\n```\nbower install keepit\n```\n\n##In the browser\n\nUsage:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"keepit.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n\tkeepit.set('dummykey', 'dummyvalue');\n\tconsole.log(keepit.get('dummykey'));\n\u003c/script\u003e\n\n```\n\n##How to use\n\n```js\nkeepit.set(key, value, expiration);\nkeepit.get(key);\nkeepit.getAll();\nkeepit.delete(key);\nkeepit.flush();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Fkeepit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxigimenez%2Fkeepit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxigimenez%2Fkeepit/lists"}