{"id":13566942,"url":"https://github.com/hazae41/decibel","last_synced_at":"2025-09-25T10:19:12.789Z","repository":{"id":229342717,"uuid":"774928492","full_name":"hazae41/decibel","owner":"hazae41","description":"Queriable in-memory database for TypeScript","archived":false,"fork":false,"pushed_at":"2024-03-26T16:47:59.000Z","size":45,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T15:50:48.093Z","etag":null,"topics":[],"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/hazae41.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["hazae41"],"patreon":"hazae41"}},"created_at":"2024-03-20T13:06:22.000Z","updated_at":"2025-02-13T13:25:41.000Z","dependencies_parsed_at":"2024-03-26T17:53:35.929Z","dependency_job_id":null,"html_url":"https://github.com/hazae41/decibel","commit_stats":null,"previous_names":["hazae41/decibel"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fdecibel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fdecibel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fdecibel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazae41%2Fdecibel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazae41","download_url":"https://codeload.github.com/hazae41/decibel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249810367,"owners_count":21328594,"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-08-01T13:02:20.036Z","updated_at":"2025-09-25T10:19:07.743Z","avatar_url":"https://github.com/hazae41.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hazae41","https://patreon.com/hazae41"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Decibel\n\nQueriable in-memory database for TypeScript\n\n```bash\nnpm i @hazae41/decibel\n```\n\n[**Node Package 📦**](https://www.npmjs.com/package/@hazae41/decibel)\n\n## Features\n\n### Current features\n- 100% TypeScript and ESM\n- No external dependencies\n- NoSQL-like querying\n\n## Usage\n\n```tsx\nconst db = new Database()\n\ndb.append({\n  id: \"1\",\n  name: \"John\",\n  age: 30,\n  job: \"Engineer\",\n  certifications: [\"AWS\", \"Azure\", \"GCP\"]\n})\n\ndb.append({\n  id: \"2\",\n  name: \"Jane\",\n  age: 30,\n  job: \"Engineer\",\n  certifications: [\"AWS\", \"Azure\", \"Docker\"]\n})\n\n/**\n * Find people whose job is `Engineer` and who have the `GCP` certification, order by ascending age, then order by descending id if they have the same age\n */\nconst [john] = db.get({ age: \"ascending\", id: \"descending\" }, { job: \"Engineer\", certifications: [\"AWS\", \"GCP\"] })\n```\n\n- Any column that can be converted to `number` will be orderable (e.g. `0.1`, `\"0.1\"`, `1n`, `\"0x1\"`)\n- Arrays are filtered with inter / inner join / \"and\" (e.g. `[\"GCP\", \"AWS\"]` -\u003e arrays containing both `GCP` and `AWS`)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fdecibel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazae41%2Fdecibel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazae41%2Fdecibel/lists"}