{"id":25161100,"url":"https://github.com/zediculz/vanilladb-flatfile","last_synced_at":"2026-05-04T09:32:32.945Z","repository":{"id":276479443,"uuid":"929410728","full_name":"zediculz/vanilladb-flatfile","owner":"zediculz","description":"A Flat-File Database library that stores data as json or toml","archived":false,"fork":false,"pushed_at":"2025-04-04T21:35:10.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"vanilladb-flatfile","last_synced_at":"2025-10-06T07:52:54.385Z","etag":null,"topics":["bun","bunjs","deno","flat-file","nodejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/zediculz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-08T13:43:13.000Z","updated_at":"2025-04-04T21:35:14.000Z","dependencies_parsed_at":"2025-03-30T20:35:13.397Z","dependency_job_id":null,"html_url":"https://github.com/zediculz/vanilladb-flatfile","commit_stats":null,"previous_names":["zediculz/vanilladb-flatfile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zediculz/vanilladb-flatfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zediculz%2Fvanilladb-flatfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zediculz%2Fvanilladb-flatfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zediculz%2Fvanilladb-flatfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zediculz%2Fvanilladb-flatfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zediculz","download_url":"https://codeload.github.com/zediculz/vanilladb-flatfile/tar.gz/refs/heads/vanilladb-flatfile","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zediculz%2Fvanilladb-flatfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["bun","bunjs","deno","flat-file","nodejs"],"created_at":"2025-02-09T02:18:00.863Z","updated_at":"2026-05-04T09:32:32.889Z","avatar_url":"https://github.com/zediculz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![JSR](https://jsr.io/badges/@vanilladb/main)](https://jsr.io/@vanilladb/main)\n\n# VanillaDb\n\nA lightweight, flat-file database that stores data in json file:\n\n- 🚀 Zero dependencies\n- 🔌 Less API\n- 🛠️ Full TypeScript type inference\n\n## Installation\n\n```bash\ndeno add jsr:@vanilladb/main\n```\n\n## Usage\n\n### Basic Class Example\n```javascript\n\nimport VanillaDb from \"@vanilladb/main\";\n\n\n//create VanillaDb\nconst db = new VanillaDb({\n    file: \"filename.json\",\n    label: \"db\",\n    defaultData: [],\n    log: true\n})\n\n//set store new data in db\nawait db.set({\n    id: 0, \n    name: 'john doe'\n})\n\n//get returns data in db\nconst datas = await db.get()\n\n//querystring query uses querystring to get data from db\nconst result = await db.query(\"select where index=2\")\nconst done = await db.query(\"update where index=2 value='newdata'\")\n\n```\n\n# License\n\nMIT © Ademujimi Oluwaseyi","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzediculz%2Fvanilladb-flatfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzediculz%2Fvanilladb-flatfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzediculz%2Fvanilladb-flatfile/lists"}