@amaui/storage
v1.0.14
Published
Storage
Downloads
91
Maintainers
Readme
Getting started
Add
yarn add @amaui/storage
Use
import AmauiStorage from '@amaui/storage';
const amauiStorage = new AmauiStorage();
const value = { a: 4 };
// Add
amauiStorage.add('a', value);
// Get
amauiStorage.get('a');
// { a: 4 }
// Remove
amauiStorage.remove('a');
amauiStorage.get('a');
// null
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build