{"id":25724107,"url":"https://github.com/xenkys/belin.db","last_synced_at":"2025-02-25T21:20:09.200Z","repository":{"id":65168254,"uuid":"585140439","full_name":"XenKys/belin.db","owner":"XenKys","description":"A module for creating a local JSON-based database","archived":false,"fork":false,"pushed_at":"2024-07-01T19:27:15.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T01:49:06.997Z","etag":null,"topics":["database","db","json","local"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/belin.db","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/XenKys.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}},"created_at":"2023-01-04T12:25:08.000Z","updated_at":"2024-07-04T12:57:12.000Z","dependencies_parsed_at":"2023-07-24T10:50:28.096Z","dependency_job_id":"bce7980d-9442-4089-9ca2-530658e2da9e","html_url":"https://github.com/XenKys/belin.db","commit_stats":null,"previous_names":["xenkys/belin.db","frooollo/belin.db"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XenKys%2Fbelin.db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XenKys%2Fbelin.db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XenKys%2Fbelin.db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XenKys%2Fbelin.db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XenKys","download_url":"https://codeload.github.com/XenKys/belin.db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240747750,"owners_count":19851132,"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":["database","db","json","local"],"created_at":"2025-02-25T21:20:08.610Z","updated_at":"2025-02-25T21:20:09.176Z","avatar_url":"https://github.com/XenKys.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# belin.db\n\nA module for creating a local JSON-based database\n\n## Installation\n\n```\nnpm install belin.db\n```\n\n#### Example\n\n```js\nconst { Database } = require(\"belin.db\");\nconst db = new Database(\"./data.json\", {\n  belowZero: true,\n});\n\ndb.set(\"a.b.c\", \"value\"); // { \"a\": { \"b\": { \"c\": \"value\" }}}\ndb.get(\"a\"); // { \"b\": { \"c\": \"value\" }}\ndb.delete(\"a.b.c\"); // { \"a\": { \"b\": {}}}\ndb.has(\"a.b.c\"); // false\ndb.all(); // { \"a\": { \"b\": {}}}\ndb.clear(); // {}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenkys%2Fbelin.db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenkys%2Fbelin.db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenkys%2Fbelin.db/lists"}