{"id":22221883,"url":"https://github.com/fabiospampinato/ionstore","last_synced_at":"2025-08-01T15:07:28.639Z","repository":{"id":185879529,"uuid":"674288629","full_name":"fabiospampinato/ionstore","owner":"fabiospampinato","description":"A very simple isomorphic key-value store with a Map-like API for persisting session data.","archived":false,"fork":false,"pushed_at":"2023-09-24T16:28:49.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-01T00:25:21.429Z","etag":null,"topics":["isomorphic","session","simple","storage","store","temp","temporary"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fabiospampinato.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}},"created_at":"2023-08-03T15:17:59.000Z","updated_at":"2023-12-11T16:10:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"922f1175-0d25-4c2e-ab6b-aebae5827ec6","html_url":"https://github.com/fabiospampinato/ionstore","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"ae8a4c842827b5e8f14c3b0ff245b94548f62adb"},"previous_names":["fabiospampinato/ionstore"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fionstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fionstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fionstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fionstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/ionstore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227673995,"owners_count":17802303,"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":["isomorphic","session","simple","storage","store","temp","temporary"],"created_at":"2024-12-02T23:16:01.082Z","updated_at":"2025-07-27T16:31:27.650Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IonStore\n\nA _very_ simple isomorphic key-value store with a Map-like API for persisting session data.\n\nThis module simply uses a temporary file under Node, and `sessionStorage` under a browser. Check out [`isostore`](https://github.com/fabiospampinato/isostore) if you need something a bit more sophisticated.\n\n## Install\n\n```sh\nnpm install ionstore\n```\n\n## Usage\n\n```ts\nimport IonStore from 'ionstore';\n\n// Creating a store, for temporary persistence\n\nconst store = new IonStore ( 'my-store' ); // The id of the store decides the name of the file on disk\n\nstore.has ( 'foo' ); // =\u003e false\nstore.set ( 'foo', 'some_string' ); // =\u003e store\nstore.get ( 'foo' ); // =\u003e 'some_string'\nstore.delete ( 'foo' ); // =\u003e true\n```\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fionstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fionstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fionstore/lists"}