{"id":21452729,"url":"https://github.com/couragecowardlydog/jsonbase","last_synced_at":"2025-09-01T08:34:00.190Z","repository":{"id":112069978,"uuid":"230449490","full_name":"couragecowardlydog/jsonbase","owner":"couragecowardlydog","description":"File based key-value database using node's stream api","archived":false,"fork":false,"pushed_at":"2019-12-30T17:12:34.000Z","size":3487,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T02:45:58.359Z","etag":null,"topics":["caching","databas","javascript","json","json-database","key-value","nodejs","streams"],"latest_commit_sha":null,"homepage":"","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/couragecowardlydog.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-27T13:32:39.000Z","updated_at":"2025-03-02T09:10:46.000Z","dependencies_parsed_at":"2023-06-14T04:45:51.177Z","dependency_job_id":null,"html_url":"https://github.com/couragecowardlydog/jsonbase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/couragecowardlydog/jsonbase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couragecowardlydog%2Fjsonbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couragecowardlydog%2Fjsonbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couragecowardlydog%2Fjsonbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couragecowardlydog%2Fjsonbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couragecowardlydog","download_url":"https://codeload.github.com/couragecowardlydog/jsonbase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couragecowardlydog%2Fjsonbase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270148175,"owners_count":24535694,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["caching","databas","javascript","json","json-database","key-value","nodejs","streams"],"created_at":"2024-11-23T04:31:41.122Z","updated_at":"2025-08-12T22:38:07.509Z","avatar_url":"https://github.com/couragecowardlydog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Key Value Store \n\nRead any huge file , supports more the node's heap size\n\nUpdate : Caching will be added in next update , to reduce read operation on disk\n\n## Installation\n\nInstall package directly fom npm ,\n\n```shell\nnpm install jsonbase-store\n```\n\n#### Intialize store\n\nEither specify file path or new file will be created in current working directory\n\n```js\nvar store = require('jsonbase-store')('./db');\n```\n\n\n#### Insert\n\n```js\nawait store.insert(\"1\", { 'key' : 'value' },1000);\n```\n\n\n#### Update\n\n```js\nawait store.update(\"1\", { 'key' : 'value' });\n```\n\n\n#### Select\n\n```js\nawait store.update(\"1\");\n```\n\n\n#### Delete\n\n```js\nawait store.update(\"1\");\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouragecowardlydog%2Fjsonbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouragecowardlydog%2Fjsonbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouragecowardlydog%2Fjsonbase/lists"}