1.0.0 • Published 11 months ago
@onesy/cache v1.0.0
Getting started
Add
yarn add @onesy/cacheUse
import OnesyCache from '@onesy/cache';
const args = [4, { a: 4, ab: 4 }];
// Args is made into a hash, which makes the key
// a very useful, when you wanna cache a value based
// on some complex amount of variables
OnesyCache.add(4, ...args);
OnesyCache.get(...args);
// Output
// 4Dev
Install
yarnTest
yarn testProd
Build
yarn build1.0.0
11 months ago