{"id":15663317,"url":"https://github.com/iamdtang/backbone-data","last_synced_at":"2026-03-11T01:01:45.265Z","repository":{"id":23369642,"uuid":"26730937","full_name":"iamdtang/backbone-data","owner":"iamdtang","description":"A simple data store for backbone models and collections inspired by Ember Data and angular-data.","archived":false,"fork":false,"pushed_at":"2015-06-13T02:48:07.000Z","size":372,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-11T08:28:17.812Z","etag":null,"topics":[],"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/iamdtang.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}},"created_at":"2014-11-16T22:47:03.000Z","updated_at":"2022-07-22T08:14:14.000Z","dependencies_parsed_at":"2022-08-05T22:16:17.103Z","dependency_job_id":null,"html_url":"https://github.com/iamdtang/backbone-data","commit_stats":null,"previous_names":["skaterdav85/backbone-data"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/iamdtang/backbone-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdtang%2Fbackbone-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdtang%2Fbackbone-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdtang%2Fbackbone-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdtang%2Fbackbone-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamdtang","download_url":"https://codeload.github.com/iamdtang/backbone-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdtang%2Fbackbone-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30364607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-03T13:36:36.232Z","updated_at":"2026-03-11T01:01:45.236Z","avatar_url":"https://github.com/iamdtang.png","language":"JavaScript","readme":"Backbone Data\n=============\n\n[![Build Status](https://travis-ci.org/skaterdav85/backbone-data.svg)](https://travis-ci.org/skaterdav85/backbone-data)\n\nA simple data store for Backbone models and collections inspired by Ember Data and angular-data.\n\n## Key Features\n\n* Automatic Caching and Identity Mapping\n\t* If a model had already been loaded, asking for it a second time will not make any network requests. This minimizes the number of round-trips to the server.\n* Provides a single point of entry for data access through the global variable _DS_ and works with existing Backbone models and collections.\n* Manages singletons for models and collections \n\t* Many times you'll need the same collection instance in multiple views. Just ask the store for the resource (`DS.getAll('person')`, `DS.findAll('person')`) and it will return or resolve with the same collection instance each time.\n\t* Maybe you have a single model instance in your application, like a `UserProfile` model. The data store can also manage it as a singleton so that you get the same `UserProfile` instance every time.\n* Load models into the store as incomplete. This can be useful if your models have lots of data and not all of it is served upfront. Extra details about the model can be fetched and cached for subsequent requests.\n* Easily create new filtered collections that are chainable\n* AMD compatible\n* 933 bytes gzipped and minified\n\n[API Documentation and Examples](apidocs.md)\n\n## Install\n\nGrab the minified or unminified file from the _dist_ directory and include it on your page.\n\n```html\n\u003cscript src=\"dist/backbone-ds.min.js\"\u003e\u003c/script\u003e\n```\n\nOr install through Bower\n\n```\nbower install backbone-data\n```\n\nOr install through NPM\n\n```\nnpm install backbone-data\n```\n\nThis library exposes a global variable called _DS_ (Data Store) and it is also registers itself for AMD (Require.js).\n\n## Tests\n\nTests are using Mocha, Chai, and Sinon. Run tests with karma.\n\n```js\nbower install\nnpm install\nkarma start\n```\n\n## Build\n\nThis will create the distribution files in the _dist_ folder\n\n```\ngulp\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdtang%2Fbackbone-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamdtang%2Fbackbone-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdtang%2Fbackbone-data/lists"}