{"id":15041194,"url":"https://github.com/bredele/datastore","last_synced_at":"2025-04-13T09:33:34.858Z","repository":{"id":58220410,"uuid":"12451749","full_name":"bredele/datastore","owner":"bredele","description":":hamster: Bloat free and flexible interface for data store and database access.","archived":false,"fork":false,"pushed_at":"2016-11-03T20:54:41.000Z","size":166,"stargazers_count":100,"open_issues_count":14,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-29T02:59:38.639Z","etag":null,"topics":["async","asynchronous","data","database","database-access","datastore","model","store"],"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/bredele.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-29T04:51:07.000Z","updated_at":"2023-07-20T17:01:46.000Z","dependencies_parsed_at":"2022-08-31T02:50:58.496Z","dependency_job_id":null,"html_url":"https://github.com/bredele/datastore","commit_stats":null,"previous_names":["bredele/store"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fdatastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fdatastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fdatastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fdatastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bredele","download_url":"https://codeload.github.com/bredele/datastore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248691009,"owners_count":21146250,"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":["async","asynchronous","data","database","database-access","datastore","model","store"],"created_at":"2024-09-24T20:45:44.527Z","updated_at":"2025-04-13T09:33:34.840Z","avatar_url":"https://github.com/bredele.png","language":"JavaScript","readme":"# Datastore\n\n  \u003e [Brick](http://github.com/bredele/brickjs) reactive data layer\n\n[![Build Status](https://travis-ci.org/bredele/datastore.svg?branch=master)](https://travis-ci.org/bredele/datastore)\n[![NPM](https://img.shields.io/npm/v/datastore.svg)](https://www.npmjs.com/package/datastore)\n[![Downloads](https://img.shields.io/npm/dm/datastore.svg)](http://npm-stat.com/charts.html?package=datastore)\n[![pledge](https://bredele.github.io/contributing-guide/community-pledge.svg)](https://github.com/bredele/contributing-guide/blob/master/community.md)\n\nDatastore is a bloat free interface for data store and database access.\n\n  * **Adaptive**: There are hundreds of databases out there. Datastore intends to provide an agnostic but yet simple interface on top of them. Seamlessly swap between database adapters and never change your code.\n  * **Async**: Never worry about when your data will be available. Datastore uses promises at its core and allows you to deal with asynchronous access elegantly.\n  * **Isomorphic**: Datastore works server side and synchronizing data between your browser and your server has never been as easy.\n\n[Try it online!](http://requirebin.com/?gist=457b620d0e3fd55db5352c5446aa01df)\n\n## Usage\n\n```js\nvar store = require('datastore')\n\n// initialize datastore with mongodb adapter\nvar data = store({\n  hello: 'world'\n}, mongo('user'))\n\ndata.set('age', 30)\ndata.set('name', 'bredele').then(function() {\n  // do something when name has been set in database\n})\n```\n\nDatastore's goal is to help you focus on a single [API](/test) without committing to one type of data storage. Thus you can easily switch in the middle of your projects from a in-memory store to any kind of database without changing a single line of code.\n\nCheck out [examples](/examples) and [docs](/docs) for more information.\n\n## Installation\n\n```shell\nnpm install datastore --save\n```\n\n[![NPM](https://nodei.co/npm/datastore.png)](https://nodei.co/npm/datastore/)\n\n\n## Question\n\nFor questions and feedback please use our [twitter account](https://twitter.com/bredeleca). For support, bug reports and or feature requests please make sure to read our\n\u003ca href=\"https://github.com/bredele/contributing-guide\" target=\"_blank\"\u003ecommunity guideline\u003c/a\u003e and use the issue list of this repo and make sure it's not present yet in our reporting checklist.\n\n## Contribution\n\nDatastore is an open source project and would not exist without its community. If you want to participate please make sure to read our \u003ca href=\"https://github.com/bredele/contributing-guide\" target=\"_blank\"\u003eguideline\u003c/a\u003e before making a pull request. If you have any datastore-related project, adapter or other let everyone know in our wiki.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Olivier Wietrich\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fdatastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbredele%2Fdatastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fdatastore/lists"}