{"id":15917599,"url":"https://github.com/dsfields/landlord-couchbase","last_synced_at":"2025-04-03T11:42:00.962Z","repository":{"id":82746540,"uuid":"76747120","full_name":"dsfields/landlord-couchbase","owner":"dsfields","description":"A Landlord Store implementation using Couchbase.","archived":false,"fork":false,"pushed_at":"2017-02-28T18:19:06.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T23:18:00.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dsfields.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2016-12-17T21:13:46.000Z","updated_at":"2017-01-05T23:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"5878e098-69e6-4beb-ae96-b885e4f80d74","html_url":"https://github.com/dsfields/landlord-couchbase","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"12fdca8c551ea924038ef300e47fcb96f340eadb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsfields%2Flandlord-couchbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsfields%2Flandlord-couchbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsfields%2Flandlord-couchbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsfields%2Flandlord-couchbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsfields","download_url":"https://codeload.github.com/dsfields/landlord-couchbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998102,"owners_count":20866690,"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-10-06T18:11:48.884Z","updated_at":"2025-04-03T11:42:00.939Z","avatar_url":"https://github.com/dsfields.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# landlord-couchbase\n\nA [`Store`](https://www.npmjs.com/package/landlord#stores) implementation for the [`landlord`](https://www.npmjs.com/package/landlord) module using [Couchbase](http://couchbase.com).\n\n## Usage\n\nAdd `landlord-couchbase` as a dependency in `package.json`:\n\n```sh\n$ npm install landlord-couchbase -S\n```\n\nThen configure instances of `Landlord` to use `landlord-couchbase` as it's store:\n\n```js\nconst couchbase = require('couchbase-promises');\nconst Landlord = require('landlord');\nconst Store = require('landlord-couchbase');\n\nconst cluster = new couchbase.Cluster('couchbase://127.0.0.1');\nconst bucket = cluster.openBucket('default');\n\nconst store = new Store({ bucket: bucket });\n\nconst landlord = new Landlord({\n  store: store\n});\n```\n\n## Couchbase\n\nThis module expects [`couchbase-promises`](https://www.npmjs.com/package/couchbase-promises)-styled  `Bucket` instances.  This is because `couchbase-promises` provides a number of \"multi\" operation methods for batching document mutations.  At a minimum, `landlord-couchbase` expects buckets to have the methods: `insertMultiAsync()`, `removeMultiAsync()`, and `touchMultiAsync()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsfields%2Flandlord-couchbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsfields%2Flandlord-couchbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsfields%2Flandlord-couchbase/lists"}