{"id":15503749,"url":"https://github.com/arcath/sodb","last_synced_at":"2025-04-22T23:50:49.321Z","repository":{"id":33926982,"uuid":"37648487","full_name":"Arcath/sodb","owner":"Arcath","description":"Single Object Database","archived":false,"fork":false,"pushed_at":"2023-10-27T14:01:52.000Z","size":1216,"stargazers_count":3,"open_issues_count":13,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T14:09:12.330Z","etag":null,"topics":["database","javascript","library","nosql"],"latest_commit_sha":null,"homepage":null,"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/Arcath.png","metadata":{"files":{"readme":"Readme.markdown","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":"2015-06-18T08:51:35.000Z","updated_at":"2021-05-18T16:41:56.000Z","dependencies_parsed_at":"2024-06-21T13:07:36.191Z","dependency_job_id":"cee3e94a-7c9d-4a41-b3ec-c64fb139bcd0","html_url":"https://github.com/Arcath/sodb","commit_stats":{"total_commits":105,"total_committers":1,"mean_commits":105.0,"dds":0.0,"last_synced_commit":"5af770141463f3c161f02e13527c48c6c369d9c2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arcath%2Fsodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arcath%2Fsodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arcath%2Fsodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arcath%2Fsodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arcath","download_url":"https://codeload.github.com/Arcath/sodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343909,"owners_count":21415037,"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","javascript","library","nosql"],"created_at":"2024-10-02T09:14:37.242Z","updated_at":"2025-04-22T23:50:49.304Z","avatar_url":"https://github.com/Arcath.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SODB\n[![Build Status](https://travis-ci.org/Arcath/sodb.svg?branch=master)](https://travis-ci.org/Arcath/sodb) [![Coverage Status](https://coveralls.io/repos/Arcath/sodb/badge.svg)](https://coveralls.io/r/Arcath/sodb)\n\nSingle Object Data Base\n\n## Install\n\n```\nnpm install sodb --save\n```\n\n## Usage\n\n```typescript\nimport db from 'sodb'\n\ninterface Record{\n  name: string\n  gender: string\n}\n\nconst {add, findOne} = db\u003cRecord\u003e()\n\nadd({name: 'bob', gender: 'm'})\n\nconst bob = findOne({name: 'bob'})\nbob.gender // m\n```\n\n\n - [Creating a Database](docs/creating_a_database.markdown)\n - [Finding Data](docs/finding_data.markdown)\n - [Working with Results](docs/working_with_results.markdown)\n - [Updating and Removing Data](docs/updating_and_removing_data.markdown)\n - [Indexing](docs/indexing.markdown)\n - [Caching](docs/caching.markdown)\n\n## Contributing\n\nFeel free to fork this repo and submit changes!\n\nRun `npm install` to install all the modules. Once that finishes run `grunt test` to run the tests and `grunt testDocs` to test that the code examples in the docs work.\n\nPlease add/amend the documentation to reflect your changes and add any code you put into the documentation to `src/db.docs.spec.ts`\n\nWhen you fork sodb please:\n\n1. Create your feature branch (`git checkout -b my-new-feature`)\n2. Commit your changes (`git commit -am 'Add some feature'`)\n3. Push to the branch (`git push origin my-new-feature`)\n4. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcath%2Fsodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcath%2Fsodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcath%2Fsodb/lists"}