You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@candlefinance/cache

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@candlefinance/cache

Fast cache for offline mode with Sqlite

Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
1
-75%
Maintainers
3
Weekly downloads
 
Created
Source

npm downloads discord users online
discord users online

Cache store for React Native


Using DiskCache for Android and PINCache for iOS, this library provides a simple interface to store data in a key-value format for offline mode.

Installation

  • Requires iOS 15+ for iOS
  • compileSdkVersion = 34 and Zullu 17 or higher for Android
yarn add @candlefinance/cache
npm i @candlefinance/cache

Usage

await write('key', 'value');

const result = await read('key'); // can be undefined if key doesn't exist

await remove('key');

await clear();

Contributing

Join our Discord and ask questions in the #oss channel.

License

MIT

Keywords

react-native

FAQs

Package last updated on 27 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts