1.0.0 • Published 10 months ago
@onesy/storage v1.0.0
Getting started
Add
yarn add @onesy/storage
Use
import OnesyStorage from '@onesy/storage';
const onesyStorage = new OnesyStorage();
const value = { a: 4 };
// Add
onesyStorage.add('a', value);
// Get
onesyStorage.get('a');
// { a: 4 }
// Remove
onesyStorage.remove('a');
onesyStorage.get('a');
// null
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build
1.0.0
10 months ago