{"id":22139710,"url":"https://github.com/nerdbeere/simple-local-storage","last_synced_at":"2026-01-30T09:49:39.676Z","repository":{"id":31528375,"uuid":"35092891","full_name":"nerdbeere/simple-local-storage","owner":"nerdbeere","description":"A simple abstraction of local storage","archived":false,"fork":false,"pushed_at":"2015-05-06T09:21:46.000Z","size":140,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T13:06:37.296Z","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/nerdbeere.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":"2015-05-05T10:28:13.000Z","updated_at":"2024-04-02T11:38:27.000Z","dependencies_parsed_at":"2022-09-06T22:23:08.686Z","dependency_job_id":null,"html_url":"https://github.com/nerdbeere/simple-local-storage","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nerdbeere/simple-local-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdbeere%2Fsimple-local-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdbeere%2Fsimple-local-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdbeere%2Fsimple-local-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdbeere%2Fsimple-local-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdbeere","download_url":"https://codeload.github.com/nerdbeere/simple-local-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdbeere%2Fsimple-local-storage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259981467,"owners_count":22941148,"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-12-01T20:17:19.730Z","updated_at":"2026-01-30T09:49:39.646Z","avatar_url":"https://github.com/nerdbeere.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Local Storage\n\nA simple localStorage abstraction to get and set strings, arrays and objects from and to localStorage.\n\n**Warning:** This is currently only working in the browser because localStorage is not implemented in nodejs/iojs.\n\n## Installation\n\n`npm install --save simple-local-storage`\n\n## Api\n\n### `store.get(key)`\n\n#### Parameters:\n\nName | Type | Description\n-----|------|------------\nkey | `string` | The key of the item\n\nRetrieve an item from the store.\n\n### `store.set(key, value)`\n\n#### Parameters:\n\nName | Type | Description\n-----|------|------------\nkey | `string` | The key of the item\nvalue | `array`, `object`, `string`, `number` | The actual value you want to save in the store\n\nSave an item to the store.\n\n### `store.remove(key)`\n\n#### Parameters:\n\nName | Type | Description\n-----|------|------------\nkey | `string` | The key of the item\n\nRemove an item from the store.\n\n### `store.clear()`\n\nRemove all items from the store.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Julian Hollmann\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdbeere%2Fsimple-local-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdbeere%2Fsimple-local-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdbeere%2Fsimple-local-storage/lists"}