@sunil-icreon/encrypted-ls
v1.2.1
Published
Encrypting local storage data
Downloads
24
Maintainers
Readme
@icreon/encrypted-storage
🏗 Icreon module for securing browsers local storage
Installation & Usage
npm init @icreon/encrypted-storage
# or
npx @icreon/encrypted-storage
How to use
import { CacheManager } from '@sunil-icreon/encrypted-ls';
Write encrypted value to browser's localstorage
CacheManager.setItem('key','Value')
Read encrypted value from browser's localstorage
const val = CacheManager.getItem('key','defaultValue')
License
MIT
Collaborators
- Sunil Kumar
Steps to use module
npm install -g @icreon/encrypted-storage