{"id":28230561,"url":"https://github.com/dohaki/pouchdb-adapter-react-native-mmkv","last_synced_at":"2025-06-14T16:30:27.181Z","repository":{"id":57329055,"uuid":"358326790","full_name":"dohaki/pouchdb-adapter-react-native-mmkv","owner":"dohaki","description":"Fast PouchDB adapter for react-native-mmkv.","archived":false,"fork":false,"pushed_at":"2021-05-31T05:57:48.000Z","size":282,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T17:17:25.105Z","etag":null,"topics":["mmkv","pouchdb","react-native"],"latest_commit_sha":null,"homepage":"https://github.com/dakingha69/pouchdb-adapter-react-native-mmkv","language":"TypeScript","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/dohaki.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":"2021-04-15T16:37:01.000Z","updated_at":"2023-03-14T23:10:43.000Z","dependencies_parsed_at":"2022-09-01T11:41:05.775Z","dependency_job_id":null,"html_url":"https://github.com/dohaki/pouchdb-adapter-react-native-mmkv","commit_stats":null,"previous_names":["dakingha69/pouchdb-adapter-react-native-mmkv"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dohaki/pouchdb-adapter-react-native-mmkv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohaki%2Fpouchdb-adapter-react-native-mmkv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohaki%2Fpouchdb-adapter-react-native-mmkv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohaki%2Fpouchdb-adapter-react-native-mmkv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohaki%2Fpouchdb-adapter-react-native-mmkv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dohaki","download_url":"https://codeload.github.com/dohaki/pouchdb-adapter-react-native-mmkv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohaki%2Fpouchdb-adapter-react-native-mmkv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259845390,"owners_count":22920731,"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":["mmkv","pouchdb","react-native"],"created_at":"2025-05-18T17:15:08.570Z","updated_at":"2025-06-14T16:30:27.174Z","avatar_url":"https://github.com/dohaki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pouchdb-adapter-react-native-mmkv\n\n## **EXPERIMENTAL: Still needs proper testing and further optimizations!!!**\n\n## Introduction\n\nThis is an **experimental** [PouchDB](https://github.com/pouchdb/pouchdb) adapter for [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv).\n\n## How to Use\n\n### 1. Install `react-native-mmkv`\n\n- https://github.com/mrousavy/react-native-mmkv\n\n### 2. Install `pouchdb^7` compatible to react-native\n\nFor example, one of the following:\n\n- https://github.com/craftzdog/pouchdb-react-native\n- https://github.com/stockulus/pouchdb-react-native\n\n### 3. Install `pouchdb-adapter-react-native-mmkv`\n\n```\nyarn add pouchdb-adapter-react-native-mmkv\n```\n\n### 4. Set up in your app\n\n```js\nimport PouchDB from \"@craftzdog/pouchdb-core-react-native\";\n// OR\nimport PouchDB from \"pouchdb-react-native\";\n\nimport { MMKV } from \"react-native-mmkv\";\nimport MMKVAdapterFactory from \"pouchdb-adapter-react-native-mmkv\";\n\nconst MMKVAdapter = MMKVAdapterFactory(MMKV);\n\nconst MMKVPouchDB = PouchDB.plugin(MMKVAdapter);\n\nconst myDB = new MMKVPouchDB(\"myDB\", { adapter: \"mmkv\" });\n```\n\n## Development Setup\n\n1. Clone repo and `cd` into it\n2. Install dependencies and build lib\n\n```bash\nyarn \u0026\u0026 yarn build\n```\n\n3. Run example\n\n```bash\ncd example \u0026\u0026 yarn \u0026\u0026 react-native run-ios\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohaki%2Fpouchdb-adapter-react-native-mmkv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdohaki%2Fpouchdb-adapter-react-native-mmkv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohaki%2Fpouchdb-adapter-react-native-mmkv/lists"}