{"id":18717423,"url":"https://github.com/js-data/js-data-redis","last_synced_at":"2025-04-12T13:32:25.910Z","repository":{"id":21461747,"uuid":"24780208","full_name":"js-data/js-data-redis","owner":"js-data","description":"Redis adapter for js-data. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io","archived":false,"fork":false,"pushed_at":"2016-08-31T05:34:16.000Z","size":644,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"v2","last_synced_at":"2024-04-14T07:44:27.086Z","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":"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-10-04T02:50:27.000Z","updated_at":"2024-04-14T07:44:27.086Z","dependencies_parsed_at":"2022-08-21T14:20:54.993Z","dependency_job_id":null,"html_url":"https://github.com/js-data/js-data-redis","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-data%2Fjs-data-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-data","download_url":"https://codeload.github.com/js-data/js-data-redis/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223518363,"owners_count":17158690,"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:12.000Z","updated_at":"2024-11-07T13:16:12.606Z","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-redis [![Slack Status][sl_b]][sl_l] [![npm version][npm_b]][npm_l] [![Travis CI][travis_b]][travis_l] [![npm downloads][dn_b]][dn_l] [![Coverage Status][cov_b]][cov_l] [![Codacy][cod_b]][cod_l]\n\nRedis adapter for [js-data](http://www.js-data.io/).\n\n### API Documentation\n[DSRedisAdapter](http://www.js-data.io/docs/dsredisadapter)\n\n### Quick Start\n`npm install --save js-data js-data-redis redis`.\n\n```js\nvar JSData = require('js-data');\nvar DSRedisAdapter = require('js-data-redis');\n\nvar store = new JSData.DS();\n\nvar adapter = new DSRedisAdapter({\n  host: 'my.domain.com',\n  port: 3333\n});\n\nstore.registerAdapter('redis', adapter, { default: true });\n\n// \"store\" will now use the Redis adapter for all async operations\n```\n\nRead about using [JSData on the Server](http://www.js-data.io/docs/jsdata-on-the-server).\n\n### Changelog\n[CHANGELOG.md](https://github.com/js-data/js-data-redis/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-redis/issues) - Found a bug? Feature request? Submit an issue!\n- [GitHub](https://github.com/js-data/js-data-redis) - View the source code for js-data.\n- [Contributing Guide](https://github.com/js-data/js-data-redis/blob/master/CONTRIBUTING.md)\n\n### Contributing\n\nFirst, support is handled via the [Slack Channel](http://slack.js-data.io) and\nthe [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions\nthere.\n\nWhen submitting issues on GitHub, please include as much detail as possible to\nmake debugging quick and easy.\n\n- good - Your versions of js-data, js-data-redis, etc., relevant console\nlogs/error, code examples that revealed the issue\n- better - A [plnkr](http://plnkr.co/), [fiddle](http://jsfiddle.net/), or\n[bin](http://jsbin.com/?html,output) that demonstrates the issue\n- best - A Pull Request that fixes the issue, including test coverage for the\nissue and the fix\n\n[Github Issues](https://github.com/js-data/js-data-redis/issues).\n\n#### Submitting Pull Requests\n\n1. Contribute to the issue/discussion that is the reason you'll be developing in\nthe first place\n1. Fork js-data-redis\n1. `git clone git@github.com:\u003cyou\u003e/js-data-redis.git`\n1. `cd js-data-redis; npm install;`\n1. Write your code, including relevant documentation and tests\n1. Run `npm test` (build and test)\n  - You need io.js or Node 4.x that includes generator support without a flag\n1. Your code will be linted and checked for formatting, the tests will be run\n1. The `dist/` folder \u0026 files will be generated, do NOT commit `dist/*`! They\nwill be committed when a release is cut.\n1. Submit your PR and we'll review!\n1. Thanks!\n\n#### Have write access?\n\nHere's how to make a release on the `master` branch:\n\n1. Bump `package.json` to the appropriate version.\n1. `npm test` must succeed.\n1. This time, the built `dist/js-data-redis.js` file _will_ be committed, so stage its changes.\n1. Mention the release version in the commit message, e.g. `Stable Version 1.2.3`\n1. Push to master.\n1. Create a git tag. Name it the version of the release, e.g. `1.2.3`\n  - Easiest way is to just create a GitHub Release, which will create the tag for you. Name the Release and the git tag the same thing.\n1. `git fetch origin` if you tagged it via GitHub Release, so you can get the tag on your local machine.\n1. `npm publish .` (Make sure you got the version bumped correctly!)\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\n[sl_b]: http://slack.js-data.io/badge.svg\n[sl_l]: http://slack.js-data.io\n[npm_b]: https://img.shields.io/npm/v/js-data-redis.svg?style=flat\n[npm_l]: https://www.npmjs.org/package/js-data-redis\n[travis_b]: https://img.shields.io/travis/js-data/js-data-redis.svg\n[travis_l]: https://travis-ci.org/js-data/js-data-redis\n[dn_b]: https://img.shields.io/npm/dm/js-data-redis.svg?style=flat\n[dn_l]: https://www.npmjs.org/package/js-data-redis\n[cov_b]: https://img.shields.io/coveralls/js-data/js-data-redis/master.svg?style=flat\n[cov_l]: https://coveralls.io/github/js-data/js-data-redis?branch=master\n[cod_b]: https://img.shields.io/codacy/64cca2890a594370a5c9f4d5c0e3fcc3.svg\n[cod_l]: https://www.codacy.com/app/jasondobry/js-data-redis/dashboard\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-data%2Fjs-data-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-data%2Fjs-data-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-data%2Fjs-data-redis/lists"}