react-native-protected-storage
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

react-native-protected-storage

Save sensitive data in storage protected

Installation

npm install react-native-protected-storage

Usage

import {
  setItemKS,
  getItemKS,
  removeItemKS,
  clearAll,
} from 'react-native-protected-storage';

// ...

const result = await setItemKS(key, value);
const result = await getItemKS(key);
const result = await removeItemKS(key);
const result = await clearAll();

Usage only storage without encryptation

import {
  setItemStorage,
  getItemStorage,
  removeItemStorage,
} from 'react-native-protected-storage';

// ...

const result = await setItemStorage(key, value);
const result = await getItemStorage(key);
const result = await removeItemStorage(key);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Package Sidebar

Install

npm i react-native-protected-storage

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

26.7 kB

Total Files

20

Last publish

Collaborators

  • sebastianvelasco_94