secure-data
v1.0.4
Published
Store your local data encrypted
Downloads
3
Maintainers
Readme
String | Object | Object | Number | Boolean
npm i secure-data
yarn add secure-data
import secureData as SD from 'secure-data'
| Function |Usecase | Datatype |
|----------------|-------------------------------|-----------------------------|
|setItem(key, value)
|To set values to secure storage |Supports 'String - Object - Number - Boolean'
as value |
|getItem(key)
|To get values which is saved on secure local storage | Return null if the key does not exits |
|removeItem(key)
| To remove specified key from secure local storage| |
|clear()
| Removed all data from secure local storage| |