{"id":15354898,"url":"https://github.com/capaj/localstorage-polyfill","last_synced_at":"2025-07-09T23:32:51.579Z","repository":{"id":66342122,"uuid":"65981547","full_name":"capaj/localstorage-polyfill","owner":"capaj","description":"in memory localStorage polyfill for node.js utilizing ES6 proxies","archived":false,"fork":false,"pushed_at":"2016-11-14T11:15:10.000Z","size":7,"stargazers_count":66,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-03T01:18:05.766Z","etag":null,"topics":[],"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/capaj.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}},"created_at":"2016-08-18T08:55:20.000Z","updated_at":"2025-04-17T01:44:46.000Z","dependencies_parsed_at":"2023-03-13T20:29:51.468Z","dependency_job_id":null,"html_url":"https://github.com/capaj/localstorage-polyfill","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"12505a9b31e018440c0fc5c89c9bd25352cd793b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/capaj/localstorage-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Flocalstorage-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Flocalstorage-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Flocalstorage-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Flocalstorage-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capaj","download_url":"https://codeload.github.com/capaj/localstorage-polyfill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Flocalstorage-polyfill/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505263,"owners_count":23618911,"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-01T12:21:34.287Z","updated_at":"2025-07-09T23:32:51.561Z","avatar_url":"https://github.com/capaj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# localstorage-polyfill\n\nin memory localStorage polyfill for node.js utilizing ES6 proxies(requires node.js 6 at least)\n\n## Installation\n\n```\nnpm i localstorage-polyfill -D\n```\nSaving for development, because primarily this package is meant for unit testing browser in node.js.\n\n## Usage\n\n```javascript\nrequire('localstorage-polyfill')\n// or\nimport 'localstorage-polyfill'\nglobal.localStorage // now has your in memory localStorage\n```\n\nFor API doc, refer to MDN.\n\nThere are other packages like node-localStorage, but none of them work properly when you do\n\n```javascript\nlocalStorage.c = 1\n```\n\nThey only shim the methods of localStorage object, they don't imitate it's behaviour fully.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Flocalstorage-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapaj%2Flocalstorage-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Flocalstorage-polyfill/lists"}