{"id":18717421,"url":"https://github.com/js-data/js-data-localforage","last_synced_at":"2025-04-12T13:32:22.695Z","repository":{"id":21256190,"uuid":"24571765","full_name":"js-data/js-data-localforage","owner":"js-data","description":"localforage adapter for js-data","archived":false,"fork":false,"pushed_at":"2016-08-31T21:39:40.000Z","size":139,"stargazers_count":8,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T02:24:45.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.js-data.io/docs/dslocalforageadapter","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/js-data.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-28T22:17:42.000Z","updated_at":"2023-02-20T08:18:27.000Z","dependencies_parsed_at":"2022-09-12T10:20:30.943Z","dependency_job_id":null,"html_url":"https://github.com/js-data/js-data-localforage","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-localforage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-localforage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-localforage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-localforage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-data","download_url":"https://codeload.github.com/js-data/js-data-localforage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131318,"owners_count":21052819,"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-11-07T13:16:10.907Z","updated_at":"2025-04-12T13:32:22.427Z","avatar_url":"https://github.com/js-data.png","language":"JavaScript","readme":"\u003cimg src=\"https://raw.githubusercontent.com/js-data/js-data/master/js-data.png\" alt=\"js-data logo\" title=\"js-data\" align=\"right\" width=\"64\" height=\"64\" /\u003e\n\n## js-data-localforage [![Slack Status](http://slack.js-data.io/badge.svg)](http://slack.js-data.io) [![npm version](https://img.shields.io/npm/v/js-data-localforage.svg?style=flat)](https://www.npmjs.org/package/js-data-localforage) [![Circle CI](https://img.shields.io/circleci/project/js-data/js-data-localforage/master.svg?style=flat)](https://circleci.com/gh/js-data/js-data-localforage/tree/master) [![npm downloads](https://img.shields.io/npm/dm/js-data-localforage.svg?style=flat)](https://www.npmjs.org/package/js-data-localforage) [![Coverage Status](https://img.shields.io/coveralls/js-data/js-data-localforage/master.svg?style=flat)](https://coveralls.io/github/js-data/js-data-localforage?branch=master)\n\nlocalforage adapter for [js-data](http://www.js-data.io/).\n\n### API Documentation\n[DSLocalForageAdapter](http://www.js-data.io/docs/dslocalforageadapter)\n\n### Demo\n[https://js-data-localforage.firebaseapp.com/](https://js-data-localforage.firebaseapp.com/)\n\n### Quick Start\n`bower install --save localforage js-data js-data-localforage` or `npm install --save localforage js-data js-data-localforage`.\n\nLoad Mozilla's `localforage.nopromises.js`.\n\nLoad `js-data-localforage.js` after `js-data.js`.\n\n```js\nvar adapter = new DSLocalForageAdapter();\n\nvar store = new JSData.DS();\nstore.registerAdapter('lf', adapter, { default: true });\n\n// \"store\" will now use the localforage adapter for all async operations\n```\n\n### Changelog\n[CHANGELOG.md](https://github.com/js-data/js-data-localforage/blob/master/CHANGELOG.md)\n\n### Community\n- [Slack Channel](http://slack.js-data.io) - Better than IRC!\n- [Announcements](http://www.js-data.io/blog)\n- [Mailing List](https://groups.io/org/groupsio/jsdata) - Ask your questions!\n- [Issues](https://github.com/js-data/js-data-localforage/issues) - Found a bug? Feature request? Submit an issue!\n- [GitHub](https://github.com/js-data/js-data-localforage) - View the source code for js-data.\n- [Contributing Guide](https://github.com/js-data/js-data-localforage/blob/master/CONTRIBUTING.md)\n\n### Contributing\n\nFirst, support is handled via the [Slack channel](http://slack.js-data.io) or [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.\n\nWhen submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy.\n\n- good - Your versions of js-data, js-data-localforage, localforage, etc, relevant console logs/error, code examples that revealed the issue\n- better - A [plnkr](http://plnkr.co/), [fiddle](http://jsfiddle.net/), or [bin](http://jsbin.com/?html,output) that demonstrates the issue\n- best - A Pull Request that fixes the issue, including test coverage for the issue and the fix\n\n[Github Issues](https://github.com/js-data/js-data-localforage/issues).\n\n#### Pull Requests\n\n1. Contribute to the issue that is the reason you'll be developing in the first place\n1. Fork js-data-localforage\n1. `git clone https://github.com/\u003cyou\u003e/js-data-localforage.git`\n1. `cd js-data-localforage; npm install; bower install;`\n1. `grunt go` (builds and starts a watch)\n1. (in another terminal) `grunt karma:dev` (runs the tests)\n1. Write your code, including relevant documentation and tests\n1. Submit a PR and we'll review\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014-2015 Jason Dobry\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%2Fjs-data%2Fjs-data-localforage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-data%2Fjs-data-localforage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-data%2Fjs-data-localforage/lists"}