{"id":18369787,"url":"https://github.com/cawfree/react-native-basement","last_synced_at":"2025-04-06T18:32:31.498Z","repository":{"id":37902921,"uuid":"267160108","full_name":"cawfree/react-native-basement","owner":"cawfree","description":"🍭🧁⛱️📦Cache all kinds of remote dependencies.","archived":false,"fork":false,"pushed_at":"2023-01-06T07:11:03.000Z","size":1146,"stargazers_count":35,"open_issues_count":31,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T04:31:42.533Z","etag":null,"topics":["cache","memory","persistent","react","react-native","storage"],"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/cawfree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-26T21:55:53.000Z","updated_at":"2022-02-25T07:57:09.000Z","dependencies_parsed_at":"2023-02-05T14:46:24.988Z","dependency_job_id":null,"html_url":"https://github.com/cawfree/react-native-basement","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/cawfree%2Freact-native-basement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Freact-native-basement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Freact-native-basement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Freact-native-basement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cawfree","download_url":"https://codeload.github.com/cawfree/react-native-basement/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247531298,"owners_count":20953932,"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":["cache","memory","persistent","react","react-native","storage"],"created_at":"2024-11-05T23:31:49.344Z","updated_at":"2025-04-06T18:32:28.654Z","avatar_url":"https://github.com/cawfree.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 react-native-basement\n\n\u003cimg alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"\u003e\n\n[**React Native Basement**](https://github.com/cawfree/react-native-basement) defines a way to easily cache remote dependencies, whether they're images, JSON or raw file content. Using the [`useBasement`](https://github.com/cawfree/react-native-basement/blob/161ac2ee4beee0ac66edb9fc0c54836e16ccbb2a/src/index.js#L54) hook, extensible declarative resource caching is a breeze. 🌊\n\nCaching support is a little _patchy_ in React Native. For example, there's [**iOS-only support for the Image component**](https://reactnative.dev/docs/images#cache-control-ios-only), or dedicated libraries for specific kinds of content.\n\nIf you're only interested in caching images, I'd suggest taking a look at [**react-native-cached-image**](https://github.com/kfiroo/react-native-cached-image). If you're interested in caching anything else, such as [**SVG**](https://github.com/react-native-community/react-native-svg)s or [**Lottie Animations**](https://github.com/react-native-community/lottie-react-native), then this project is your friend! (Yes, it does images too, just not as optimally by comparison!)\n\n## 🚀 installing\n\n```bash\nyarn add react-native-basement # or npm i -s react-native-basement\n```\n\nThat's about it! Please check out the [**Getting Started**](./docs/GETTING-STARTED.md) guide for integration details. There's also an included [**Example App**](./example/App.js).\n\n## ✌️ licence\n[**MIT**](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Freact-native-basement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcawfree%2Freact-native-basement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Freact-native-basement/lists"}