{"id":19118859,"url":"https://github.com/app-masters/realm-async-storage","last_synced_at":"2025-10-26T14:43:42.152Z","repository":{"id":57098270,"uuid":"153280638","full_name":"app-masters/realm-async-storage","owner":"app-masters","description":"Class for deal with Realm local DB similar to RN AsyncStorage","archived":false,"fork":false,"pushed_at":"2018-10-26T13:39:39.000Z","size":27,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T07:47:28.704Z","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/app-masters.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-10-16T12:20:34.000Z","updated_at":"2018-10-26T13:39:40.000Z","dependencies_parsed_at":"2022-08-20T16:51:06.023Z","dependency_job_id":null,"html_url":"https://github.com/app-masters/realm-async-storage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-masters%2Frealm-async-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-masters%2Frealm-async-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-masters%2Frealm-async-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-masters%2Frealm-async-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-masters","download_url":"https://codeload.github.com/app-masters/realm-async-storage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240172164,"owners_count":19759506,"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-09T05:07:56.530Z","updated_at":"2025-10-26T14:43:37.099Z","avatar_url":"https://github.com/app-masters.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realm Async Storage\nClass for deal with Realm local DB similar to RN AsyncStorage\n\n### Usage\nOn the `App.js`, import and give desired model list to setup.\n````javascript\nimport {RealmStorage} from 'realm-async-storage';\n...\nconst schemas = [UserSchema, CompanySchema]; // Realm schemas\nconst onError = (error) =\u003e console.error(error); // optional\nRealmStorage.setup(schemas, onError)\n\n````\n\n### Methods\n\n- setup (schemas?: Array\u003cRealmSchema\u003e): any\n- createItem (key: string, value: Object): Object\n- updateItem (key: string, value: Object): Object\n- deleteItem (item: RealmObject): Promise\u003cvoid\u003e\n- getItems (key: string, filter: Object | string): Promise\u003cArray\u003cObject\u003e | null\u003e\n- removeAll (key: string): Promise\u003cvoid\u003e\n- convertFilter (filter: Object | string): string\n- checkSchema (key: string)\n- getAllKeys (): Promise\u003cArray\u003cstring\u003e\u003e\n- getModel (): any  \n\n### Using\n- [Realm-JS 2.18.0](https://github.com/realm/realm-js)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-masters%2Frealm-async-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-masters%2Frealm-async-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-masters%2Frealm-async-storage/lists"}